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

How to change pair? #15

Closed
luisdemarchi opened this issue Jan 12, 2017 · 8 comments
Closed

How to change pair? #15

luisdemarchi opened this issue Jan 12, 2017 · 8 comments

Comments

@luisdemarchi
Copy link

First of all I'm sorry for my English, I'm Brazilian. Your code works very well, but in a test with 6 computers, when you click the "Start" button a second time, it will no longer work. What I wanted was to switch to another pair. Can you help?

@shanet
Copy link
Owner

shanet commented Jan 13, 2017

This example is designed for a direct connection between two clients only. A non-trivial amount of work is required for multi-client calls. It's possible to connect an arbitrary number of clients at once, but quickly becomes impractical beyond three or so without using something like Jitsi Videobridge.

@luisdemarchi
Copy link
Author

I want to make only two client connections at a time, but I need the "start" button to always search for a new connection (disconnecting the previous one). When I press "start" for the second time on, no one appears or a black screen appears and only the audio works.

@shanet
Copy link
Owner

shanet commented Jan 14, 2017

It should just be a matter of resetting the state then. That is, close the existing peer connection and allow a new one to be started.

@Globik
Copy link

Globik commented May 11, 2017

Is this demo for one tab? Or can one use it in two tabs at a time?

@Globik
Copy link

Globik commented May 11, 2017

On the same computer from ff to chrome and vice versa does'nt work. Tested.

@Globik
Copy link

Globik commented May 11, 2017

What for then negotiation needed event? Occurs in chrome, but not in a ff.

@shanet
Copy link
Owner

shanet commented May 17, 2017

Calling Chrome to Firefox works for me currently with versions 57 and 53 respectively.

And yes, two browser tabs/windows or computers are needed so they have something to connect to. A single browser tab on its own won't do anything.

@Globik
Copy link

Globik commented May 17, 2017

Yes, I see. Two tabs. Deployd to heroku, one need a turn server url when from different computers. When from tab to tab on the same computer and the same network is ok without turn url.

@shanet shanet closed this as completed Jan 8, 2018
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