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

iceConnectionState goes from *checking* to *failed* #1163

Closed
tufik2 opened this issue Jun 20, 2022 · 2 comments
Closed

iceConnectionState goes from *checking* to *failed* #1163

tufik2 opened this issue Jun 20, 2022 · 2 comments

Comments

@tufik2
Copy link

tufik2 commented Jun 20, 2022

Any solution for this issue? I am having the same issue in Android Simulator trying to connect with other Peer using the web (Chrome), but no matter what I tried, always status keeps checking > failed… I just need to use DataChannel so my configuration is…

I am using peerConstraints = {iceServers: [{urls: ‘stun:stun.l.google.com:19302’}]};
and offerConstraints = {offerToReceiveAudio: false, offerToReceiveVideo: false};

@8BallBomBom
Copy link
Member

You either have a race condition with processing the ice candidates or you'll need a TURN server.
Best to always have a TURN server along side a STUN server though.
Have a look over here in relation to the candidate handling, hopefully helps.

@saghul
Copy link
Member

saghul commented Jun 20, 2022

The Android simulator runs on a different network, it's likely STUN alone doesn't cut it.

PS: Please ask these kind of questions in our community forum.

@saghul saghul closed this as completed Jun 20, 2022
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