Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

The video only works on the local or the same Wi-Fi network #14

Open
ahmadshaar84 opened this issue Apr 16, 2020 · 5 comments
Open

The video only works on the local or the same Wi-Fi network #14

ahmadshaar84 opened this issue Apr 16, 2020 · 5 comments

Comments

@ahmadshaar84
Copy link

ahmadshaar84 commented Apr 16, 2020

Hello dear
I uploaded the project to my server and when i tested it I found it only works when the caller and callee are on the same network
the message on console was 'Connection state change: failed'
can you help me with this issue

@renanBritz
Copy link

@ahmadshaar84
Copy link
Author

Thanks a lot for your reply can you please provide me with valid turn-server just to test it

@renanBritz
Copy link

@ahmadshaar84 Unfortunately there are no turn servers available for free. You can create your own with COTURN (using aws or gcp for example).

@JaviLopezG
Copy link

I am testing the code from my computer and my mobile (my mobile is not connected to my WiFi, it only has the 4G connection enabled) and it works for me. It's published on https://webrtc-org-example.web.app/ if you want to try it.

There seem to be some public turn servers, but I didn't test them:
https://gist.github.com/sagivo/3a4b2f2c7ac6e1b5267c2f1f59ac6c6b

@natkuhn
Copy link

natkuhn commented Dec 5, 2020

xirsys.net has a free tier for their turn server service

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

No branches or pull requests

4 participants