Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Enhancement: multi communication #45

Open
jyakaranda opened this issue Apr 25, 2017 · 2 comments
Open

Enhancement: multi communication #45

jyakaranda opened this issue Apr 25, 2017 · 2 comments

Comments

@jyakaranda
Copy link

jyakaranda commented Apr 25, 2017

Hello,
In recent study, i want to build a multiplayer video room that can allow everyone in this room to see the rests. So can i use the data channel between web and android client to transmit all the streams web client received to every android client ? If possible, could you please give me some tips to reach this goal or any other solution to build this room?
Thanks for your attentions!

@pchab
Copy link
Owner

pchab commented Apr 25, 2017

Hi,
Depending on the number of player in the room you may need an MCU. Without an MCU, you'll have a mesh topology. So in a n-players room, each player will send its stream to the (n-1) others and receive (n-1) streams and this scales very badly (but I think it's still manageable for a 4-players room). With the MCU, each player send its stream to the MCU and receive a mixed stream from it. The big downside is that MCUs require a lot of power so you'll need dedicated servers for this. Hope this will help !

@jyakaranda
Copy link
Author

@pchab Thank you very much for your reply !
For simplicity, I changed the android client to establish peerconnection with others in the same room. It's really easy to achieve based on your project, and I've learnt a lot about webrtc communication process from your project and advises. THANK YOU AGAIN FOR YOUR HELP!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants