Bug 1071207: Remove trickle ICE pref. r=mt

This commit is contained in:
Byron Campen [:bwc] 2014-09-29 10:17:07 -07:00
parent ae2074d56f
commit d8452d2c05
2 changed files with 1 additions and 5 deletions

View File

@ -301,7 +301,6 @@ function RTCPeerConnection() {
this._localType = null;
this._remoteType = null;
this._trickleIce = false;
this._peerIdentity = null;
/**
@ -326,7 +325,6 @@ RTCPeerConnection.prototype = {
init: function(win) { this._win = win; },
__init: function(rtcConfig) {
this._trickleIce = Services.prefs.getBoolPref("media.peerconnection.trickle_ice");
if (!rtcConfig.iceServers ||
!Services.prefs.getBoolPref("media.peerconnection.use_document_iceservers")) {
rtcConfig.iceServers =
@ -365,8 +363,7 @@ RTCPeerConnection.prototype = {
this._queueOrRun({
func: this._initialize,
args: [rtcConfig],
// If not trickling, suppress start.
wait: !this._trickleIce
wait: false
});
},

View File

@ -341,7 +341,6 @@ pref("media.peerconnection.video.max_bitrate", 2000);
#endif
pref("media.navigator.permission.disabled", false);
pref("media.peerconnection.default_iceservers", "[{\"url\": \"stun:stun.services.mozilla.com\"}]");
pref("media.peerconnection.trickle_ice", true);
pref("media.peerconnection.use_document_iceservers", true);
// Do not enable identity before ensuring that the UX cannot be spoofed
// see Bug 884573 for details