client-server-webrtc-example icon indicating copy to clipboard operation
client-server-webrtc-example copied to clipboard

Is it possible for a extended example on how to stream video?

Open vans163 opened this issue 8 years ago • 1 comments

Thank you very much for this example, I got data channels working. But there is great difficulty getting video streaming to work. Mostly because server to peer is so undocumented on the WWW.

Thanks.

vans163 avatar Aug 31 '17 02:08 vans163

Hi @vans163. I forked[1] this project and added video support, getting inspiration from this[2] sample. If you have issues I can't provide support but the code for working video (no audio) stream and testing is all there. The CMakeLists.txt is hardcoded at the moment and supports only Windows, and you will require you some skills to compile WebRTC. Eventually I compiled mine because the precompiled packages usually don't have H264 support, but precompiled packages here[3] should also work. In the client/video folder there are source html that can feed the sink server (html/js or c++).

[1] https://github.com/ceztko/client-server-webrtc-example [2] https://github.com/emannion/webrtc-audio-video [3] https://github.com/mayeut/libwebrtc/releases/tag/v1.1.1

ceztko avatar Sep 13 '18 11:09 ceztko