Search code examples
androidwebrtcsimplewebrtcopenwebrtc

Live broadcast use of WebRtc in android is it possible.?


I want to develop Live Streaming like Facebook using WebRtc. is it possible..? I already develop this thing using WOWZA. want to develop the same this with WebRtc.


Solution

    • With the bandwidth cost catching up on the CDN costs, the price difference, if any, between file-based solutions over HTTP(s) (HLS, MPEG-DASH, ..) and direct streaming solutions (RTMP, WebRTC, RTSP, direct transport: STR, WS, QUIC, ...) are vanishing.

    • Direct streaming solutions have better latency by design, even when "optimised", including with webrtc p2p offload (peer5, streaming root).

    • The two main drawbacks of WebRTC were scalability and Apple devices:

    One needed a file-based system to reach out to Apple device since they banned flash. It's not the case anymore and you can reach a web app in safari with webrtc using H.264. It will be extended to all apps using the web view framework later this year.

    WebRTC open source servers are not cascadable, and one server is limited to around 1,000 viewers. But both Vidyo and Xirsys have commercial solutions for that.

    If you wanted to have a solution for "real-time" live streaming (latency < 500ms) as opposed to Facebook live streaming (few seconds latency), you could reach out to the two aforementioned companies. There is AFAIK, nothing open source today to solve that problem.