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

Have to work for more than 4 person #22

Closed
Jaykantjha opened this issue Jun 21, 2020 · 3 comments
Closed

Have to work for more than 4 person #22

Jaykantjha opened this issue Jun 21, 2020 · 3 comments

Comments

@Jaykantjha
Copy link

Hi,
i found that its not working for more than 3 person in same room.
Even tested your demo link https://chat.1410inc.xyz..
When more than 3 person are connected then

  • same person is displayed multiple times
  • or video call of person get delayed

Sometime there is blank screen for room no video is displayed.
I tried to use in my project but not able to use.
Can you help ?

@amirsanni
Copy link
Owner

Hi @Jaykantjha, perhaps I should have mentioned this in the readme. The connection among participants uses mesh topology. So the number of users it can accommodate will be affected by the browsers and devices used. Ideally, it's suited to between maximum 3 and 4 participants due to browser limitations.

To make it work with more participants, you'll need a media server for routing medias among participants.

@karanshah0206
Copy link

But isn't WebRTC built basically to achieve excellent peer to peer interactions? In that case, implementing an external media server not only ruins the whole purpose, but it would also mean that we're not really doing peer to peer connection but instead using some external server off which videos are just running in playback.

@amirsanni
Copy link
Owner

amirsanni commented Jul 16, 2020

@karanshah0206 No doubt, webRTC supports peer-to-peer with an unlimited number of users but do we have devices that can handle such connections? The simple answer is NO, hence the reason for a media server, and there are WebRTC media servers out there.

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

3 participants