You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"2. If the server.urls dictionary member an empty list, then throw an InvalidAccessError and abort these steps."
This seems superfluous, inconsistent, surprising and problematic.
Superfluous, because it provides no invariant (omitting iceServers produces an empty list).
Inconsistent, because an empty list is a valid value (the default value in fact).
Surprising, because iceServers is not a required field.
Problematic, because some browsers (Firefox) allow end-users to configure a non-empty default, meaning explicitly providing an empty list has purpose.
An example of the latter is an app that wants to limit communication to the LAN (i.e. communicate exclusively with host candidates). new RTCPeerConnection({ iceServers: [] }) seems the most intuitive way to communicate this intent (to turn off any user-configured defaults in browsers like Firefox).
The text was updated successfully, but these errors were encountered:
In setConfiguration under step 6 it says:
This seems superfluous, inconsistent, surprising and problematic.
Superfluous, because it provides no invariant (omitting
iceServers
produces an empty list).Inconsistent, because an empty list is a valid value (the default value in fact).
Surprising, because
iceServers
is not a required field.Problematic, because some browsers (Firefox) allow end-users to configure a non-empty default, meaning explicitly providing an empty list has purpose.
An example of the latter is an app that wants to limit communication to the LAN (i.e. communicate exclusively with host candidates).
new RTCPeerConnection({ iceServers: [] })
seems the most intuitive way to communicate this intent (to turn off any user-configured defaults in browsers like Firefox).The text was updated successfully, but these errors were encountered: