Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Multi user chat : is that possible ? #24

Open
yarekc opened this issue Jun 7, 2017 · 6 comments
Open

Multi user chat : is that possible ? #24

yarekc opened this issue Jun 7, 2017 · 6 comments

Comments

@yarekc
Copy link

yarekc commented Jun 7, 2017

Does it relay streams ?
My goal is to create some video chat application with 20 users: and webrtc seems to have limits to 6 beacuse of its peer2peer technology.

@silviapfeiffer
Copy link
Member

Hi @yarekc there is no actual limit to endpoints - the limit of 6 is artificial and more based on the resources that the endpoints can deal with. That's particularly problematic with video because of the large amounts of data, but less so with text chat.

If you want a video chat application with many endpoints, you need to install a media server (MCU or SFU).

@yarekc
Copy link
Author

yarekc commented Jun 7, 2017

My idea was rather to use a chrome or chromium on server side as relay without using complex sfu servers
Do you think my idea can work ?
Regards

@silviapfeiffer
Copy link
Member

silviapfeiffer commented Jun 7, 2017

Chromium is not a forwarding server. All you get by running it in the cloud is another endpoint. You'd have to implement SFU functionality in JS. If that's your goal, sure. Rtc.io is not helping with that. [sorry about the earlier autocomplete typos]

@yarekc
Copy link
Author

yarekc commented Jun 7, 2017

yes I know it is not a SFU server. However, it looks like it is possible nowdays to relay peers. So de factor, it can play a SFU role, well I believe it.
I have tried many SFU servers and they all are complex and have big CPU consumption. Whereas we just need to relay them without any process. I still believe there must be a simple solution.

@silviapfeiffer
Copy link
Member

Hmm, maybe try https://github.com/versatica/mediasoup ?

@yarekc
Copy link
Author

yarekc commented Jun 8, 2017

Yes: I already did as well as Janus or Kurento... and I realized that maybe any browser can do what these servers do: simply relay a peer :
so Instead of having:
performer<----->user1
performer<----->user2

(that will kill performer if we have 100 users)

why not have
performer<----->chrome server <---->user1
___________________________________<----->user2

so remote chrome acts as simply relay between performer and users

(sorry for the underline but these comments do not accept SPACE or TABs)

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

No branches or pull requests

2 participants