WebRTC with 3 users connection

后端 未结 1 1511
借酒劲吻你
借酒劲吻你 2020-11-28 16:54

I\'m now implementing the source code from WebRTC Samples to become 3 users connection by using mesh topology.

However, my code doesn\'t work as I thought it would

相关标签:
1条回答
  • 2020-11-28 17:01

    A mesh of 3 users means each user sets up two connections, one to each of the other two users. At each client's end, these are two entirely different RTCPeerConnections, and you can't reuse candidates between them, as each candidate contains port numbers allocated specifically for the media and the target it is to be sent to.

    If you know how to set up one connection, you know how to set up two. Just keep things separate.

    0 讨论(0)
提交回复
热议问题