W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > July 2019

Re: [webrtc-pc] Should we remove getDefaultIceServers? (#2023)

From: Eric Shepherd via GitHub <sysbot+gh@w3.org>
Date: Thu, 04 Jul 2019 10:23:25 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-508430397-1562235804-sysbot+gh@w3.org>
FWIW I like the idea of having a flag you can set when creating an `RTCPeerConnection` (or anytime STUN/TURN servers come into play) that indicates "also allow any default servers to be used".

In fact, I would expand that from being a pure binary, to include the following options using an `enum`:

* Don't use browser's default ICE servers
* Prefer browser's default ICE servers, if any
* Prefer the servers specified in the configuration; use the browser's default ICE servers as fallbacks
* Use only the browser's default ICE servers

This gives tons of flexibility and should not be hard to implement. It also lets browsers choose whether or not to support default ICE servers, whether or not to include any automatically, whether or not to allow them to be user-configured, whether or not to allow them to be set by an enterprise policy, etc. And it does so without exposing those servers' identities to the client through a method like `getDefaultIceServers()`, which I would then remove.

-- 
GitHub Notification of comment by a2sheppy
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2023#issuecomment-508430397 using your GitHub account
Received on Thursday, 4 July 2019 10:23:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:25 UTC