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

'stun:global.stun.twilio.com:3478?transport=udp' is not a valid stun or turn URL on calling new SimplePeer() #931

Open
eedohila opened this issue Mar 24, 2024 · 2 comments

Comments

@eedohila
Copy link

Hi, I didn't touch my code for three years and now trying to rerun it (it worked before),
and it gives me a -
"Failed to construct 'RTCPeerConnection': 'stun:global.stun.twilio.com:3478?transport=udp' is not a valid stun or turn URL." error message
on calling
peer = new SimplePeer(options);
through the client.
Any help would be appreciated.
(I am not sure this is the right place to put this, and don't really understand too much in programming, node, webRTC, more a hobby project).

@fippo
Copy link

fippo commented Mar 30, 2024

Remove the ?transport=udp from the place you are passing it. See twilio/twilio-video.js#1934 for the full story

@eedohila
Copy link
Author

eedohila commented Apr 1, 2024

Remove the ?transport=udp from the place you are passing it. See twilio/twilio-video.js#1934 for the full story

Thanks, :-). Did it and it works.
(Actually already got a reply from the silentbot in the discord channel and understood to do this change, although less of the why).
Thanks again.

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

2 participants