microsoft / MixedReality-WebRTC

MixedReality-WebRTC is a collection of components to help mixed reality app developers integrate audio and video real-time communication into their application and improve their collaborative experience
https://microsoft.github.io/MixedReality-WebRTC/
MIT License
909 stars 283 forks source link

Do MixedReality-WebRTC support one-to-many video communication? #415

Open suxinren opened 4 years ago

suxinren commented 4 years ago

Hi @djee-ms

I want to implement one PC to multiple HoloLens communication, do MixedReality-WebRTC support this function? Do you have any suggestions for one-to-many communication?

Thank you.

djee-ms commented 4 years ago

Hi @suxinren,

WebRTC is a peer-to-peer technology so there's no support for multiple peers at the protocol level. You should create one peer connection per pair of actors (PC-HoloLens).

suxinren commented 4 years ago

@djee-ms Ok, thank you very much for your reply.

jongfeelkim-VIRNECT commented 4 years ago

@suxinren

If you consider to SFU media server (just like janus or kurento), seperate PeerConnection per remote peer. So you have to some modify to transceivers of PeerConnection and understanding undirectional singnaling to media server.

djee-ms commented 4 years ago

You can use SFU/MCU media servers too as @jongfeelkim-VIRNECT pointed out, but this is more complicated, so I didn't suggest it as a first approach. This has better performance too. However I am not aware of any modification to be made to transceivers; this should work out of the box.