reject TURN urls containing a username |
||
Issue descriptionfrom https://stackoverflow.com/questions/53488035/rtcpeerconnection-with-rtcconfiguration-breaks-on-firefox/53488438#53488438 Chrome Version: 72.0.3610.2 OS: all What steps will reproduce the problem? (1) paste this into the JS console: const configuration = { iceServers: [ { urls: 'turn:user@myserver.com:3478', // <- here remove "user@" username: 'user', credential: 'mypwd' } ] }; const pc = new RTCPeerConnection(configuration) What is the expected result? It throws. What happens instead? It accepts this as valid. Firefox is getting blamed for erroring because Chrome is too lenient. Passing the user in the URL went away in 2012 around Chrome 25 I think
,
Nov 28
|
||
►
Sign in to add a comment |
||
Comment 1 by guidou@chromium.org
, Nov 28