mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1071207: Remove trickle ICE pref. r=mt
This commit is contained in:
parent
ae2074d56f
commit
d8452d2c05
@ -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
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user