Closed 0wwafa closed 2 months ago
its need to be like this:
iceServers: [
{
urls: ["stun:142.250.82.249:3478"]
},
{ //if its turn server you need put also credentials:
urls: ["turn:142.250.82.249:3478"],
username: "test",
credential: "test"
}
]
Hello, This format will work for bindings but will not work for polyfills. https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection#iceservers
It should be like @Aviv1000 mentioned.
FYI, for bindings, username and passwords must be specified in the URI with the format turn:username:password@hostname:port
.
I am closing the issue. If you have further questions, please feel free to re-open it.
this won't work (but works in the browser)
{ iceServers: ['stun:142.250.82.249:3478'] } << that's a google turn server.
Also: no idea how to pass credentials.