Bug 1383575: remove TURNS log warning. r?bwc draft
authorNils Ohlmeier [:drno] <drno@ohlmeier.org>
Sun, 23 Jul 2017 15:24:29 -0700
changeset 614056 ef532b0a9342903bf96dacf282f231ce0bf7a900
parent 614015 5928d905c0bc0b28f5488b236444c7d7991cf8d4
child 638767 6617c9ed59fb21f5aa1416bc953fd567c66f460f
push id69904
push userdrno@ohlmeier.org
push dateSun, 23 Jul 2017 22:24:51 +0000
reviewersbwc
bugs1383575
milestone56.0a1
Bug 1383575: remove TURNS log warning. r?bwc 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");
         }
       });