Bug 1383575: remove TURNS log warning. r?bwc
MozReview-Commit-ID: 2nEXokGwErU
--- 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");
}
});