WebRTC - scalable live stream broadcasting / multicasting

前端 未结 12 719
别跟我提以往
别跟我提以往 2020-11-30 16:47

PROBLEM:

WebRTC gives us peer-to-peer video/audio connections. It is perfect for p2p calls, hangouts. But what about broadcasting (one-to-many, for

12条回答
  •  旧巷少年郎
    2020-11-30 17:34

    The answer from Angel Genchev seems to be correct, however, there is a theoretical architecture, that allows low-latency broadcasting via WebRTC. Imagine B (broadcaster) streams to A1 (attendee 1). Then A2 (attendee 2) connects. Instead of streaming from B to A2, A1 starts streaming video being received from B to A2. If A1 disconnects then A2 starts receiving from B.

    This architecture could work if there are no latencies and connection timeouts. So theoretically it is right, but not practically.

    At the moment I am using server side solution.

提交回复
热议问题