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

Works only for same network #1193

Open
Eternal-Rise opened this issue Feb 1, 2024 · 7 comments
Open

Works only for same network #1193

Eternal-Rise opened this issue Feb 1, 2024 · 7 comments
Labels
client related to peerjs client

Comments

@Eternal-Rise
Copy link

I thought, that maybe I have some problem in my code. I have tried different free STUN/TURN servers, but still - not working when try to connect with different networks. Locally - perfect, different networks - messaging via socket works fine, but then just iceConnectionState changed to disconnected on the connection with <id>

I have tried examples (https://peerjs.com/examples) and it's not working too for me. Again, locally - fine, different networks - not working.

@strukturart
Copy link

same for me

@Eternal-Rise
Copy link
Author

Probably, this the main issue.
https://github.com/orgs/peers/discussions/1172
Works fine with TURN by https://www.metered.ca/tools/openrelay/

@strukturart
Copy link

@Eternal-Rise Can you please show me your working example, unfortunately it doesn't work for me: https://github.com/strukturart/watermelon

@Eternal-Rise
Copy link
Author

Eternal-Rise commented Feb 4, 2024

@strukturart
Copy link

I haven't had any success yet, maybe it's because the KaiOS browser isn't up to date

@irgalamarr irgalamarr added the client related to peerjs client label Feb 24, 2024
@Ravindu007
Copy link

Ravindu007 commented May 16, 2024

@Eternal-Rise many thanks. your solution works for me. Metered offers 5 ice servers for free plan. upto (500MB)

@thejus557
Copy link

thejus557 commented Oct 24, 2024

I tried the metered. still not working. local stream works fine. but deployed one is having issues. can anyone help me out ?. Im using peerjs, iceserver from metered. what am i missing.

My project github link:https://github.com/thejus557/simple-webrtc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client related to peerjs client
Projects
None yet
Development

No branches or pull requests

5 participants