Bug 1383575: remove TURNS log warning. r=mjf
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Sun, 23 Jul 2017 15:24:29 -0700
changeset 419365 91ddffcd405d5abcdc46bd8126d25bbd438f85a0
parent 419364 6fc6a92ad62ecae876c19be2026afeed85ee1064
child 419366 a7da25c837d870a5b4e10d1a5911d3fafdf75592
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmjf
bugs1383575
milestone56.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1383575: remove TURNS log warning. r=mjf MozReview-Commit-ID: 2nEXokGwErU
dom/media/PeerConnection.js
--- a/dom/media/PeerConnection.js
+++ b/dom/media/PeerConnection.js
@@ -656,17 +656,17 @@ class RTCPeerConnection {
           stunServers += 1;
         } else if (scheme in { stun: 1, stuns: 1 }) {
           this._hasStunServer = true;
           stunServers += 1;
         } else {
           throw new this._win.DOMException(msg + " - improper scheme: " + scheme,
                                            "SyntaxError");
         }
-        if (scheme in { stuns: 1, turns: 1 }) {
+        if (scheme in { stuns: 1 }) {
           this.logWarning(scheme.toUpperCase() + " is not yet supported.");
         }
         if (stunServers >= 5) {
           this.logError("Using five or more STUN/TURN servers causes problems");
         } else if (stunServers > 2) {
           this.logWarning("Using more than two STUN/TURN servers slows down discovery");
         }
       });