Is it possible for a extended example on how to stream video?
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.
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