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

Only works when both users are connected to the same network! #1

Open
ttshivhula opened this issue Mar 15, 2021 · 8 comments
Open

Only works when both users are connected to the same network! #1

ttshivhula opened this issue Mar 15, 2021 · 8 comments

Comments

@ttshivhula
Copy link

I hosted an instance of this site it worked fine when I was testing using my laptop and phone but as soon as I sent my friend a link who is on a different network it just stoped working.

https://thrstvideo.web.app

@mongkonsrisin
Copy link

I've tried your URL with different network and it works fine.

@YannicEl
Copy link

@ttshivhula Have you found a solution yet? I tried your link and it only works for me if I open two tabs on the same computer.

I have the exact same problem with my implementation.
https://yannic-meet-dev.web.app/rtc

@abardia
Copy link

abardia commented Apr 4, 2021

When I try to use "my Version" with an LetsEncrypt SSL, hosted on my own Server:
It gives me this error in the console:
"WebSocket connection to 'wss://censored_domain.de:3000/' failed: ".

Am using NGINX Certbot.

Site only reloads now.
test.bardia-akhavan.de

@chaosprint
Copy link

@ttshivhula Have you found a solution yet? I tried your link and it only works for me if I open two tabs on the same computer.

I have the exact same problem with my implementation.
https://yannic-meet-dev.web.app/rtc

Have you solved this issue?

@batbrain9392
Copy link

batbrain9392 commented Oct 30, 2021

Dunno if this would be useful, but the same was happening to me until I realised that I was reading icecandidates before I was ready to write them to the offerCandidates subcollection. Fixed that, and it started working everywhere.

@shba007
Copy link

shba007 commented Dec 3, 2021

@batbrain9392 can you host your app??

@batbrain9392
Copy link

batbrain9392 commented Dec 3, 2021

@shba007 it's hosted here. But I think I'll have to tweak the Firebase security rules to make it work again. Gimme the weekend and check on Monday.

Or feel free to fork the repo and use your own Firebase.

But be advised, I've implemented it in Angular.

@PhilippeArtean
Copy link

Dunno if this would be useful, but the same was happening to me until I realised that I was reading icecandidates before I was ready to write them to the offerCandidates subcollection. Fixed that, and it started working everywhere.

@batbrain9392 it is actually useful 👍 Can you tell me more how to fix this in the original code?

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

8 participants