How does WebRTC handle many-to-many connections?

前端 未结 5 2012
南旧
南旧 2021-02-08 01:45

if I am in a room with other 7 users, I am wondering if WebRTC force every user to establish a connection to each one of other participants.

Obviously it would consume s

5条回答
  •  情书的邮戳
    2021-02-08 02:18

    Yes, you would have to establish separate connections to each of your peers. In order to solve this you could use a media server like kurento.

    With a media server every peer would connect to the media server, the server would then combine the video streams from your peers into one by placing them side by side and then send you the new stream. This saves peers the trouble of having to download streams from every other peer.

提交回复
热议问题