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

Voice Chat for browser video game #19

Open
nsmith1024 opened this issue Jun 25, 2019 · 1 comment
Open

Voice Chat for browser video game #19

nsmith1024 opened this issue Jun 25, 2019 · 1 comment

Comments

@nsmith1024
Copy link

nsmith1024 commented Jun 25, 2019

Hello, I wrote a browser game in HTML5/JavaScript, and i wanted my players to be able to voice chat with each other while playing using WebRTC.

So can players from different browsers use WebRTC to connect to a server running MultiStreamMixer , where each player sends their voice stream from their browser mic to MultiStreamMixer, then each get back a single WebRTC stream of all players voice combined into one stream so everybody can hear everybody else?

Do you have example of how to do this?

@luanraithz
Copy link

Hello, why don't you just connect them using WebRTC peer connection ?
If you don't do so, you must take care to a user not listen to his voice again and probably the delay would be higher.
I think there is no need for a server with a WebRTC implementation and this lib.

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