Ayarn Sawarn
unread,Mar 5, 2023, 11:08:37 AM3/5/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to discuss-webrtc
Hi,
My ICE server is working fine, but in some cases it generates errors. I'm not sure what I'm supposed to do.
Uncaught DOMException: Failed to construct 'RTCPeerConnection': 'stun:x.xx.xx.xxx:3478?transport=udp' is not a valid stun or turn URL.
and my trun server url is :
config: {
iceServers: [
{
urls: [`stun:${requests.iceServerUrl}:3478?transport=udp`],
username: "user",
credential: "pass",
},
{
urls: [`turn:${requests.iceServerUrl}:3478`],
username: "user",
credential: "pass",
},
],
},
});