Bug 1607579 - Add pref to disable mute on RTCP bye or timeout; r=bwc

Differential Revision: https://phabricator.services.mozilla.com/D59163

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Dan Minor 2020-01-08 19:07:46 +00:00
Родитель d0cceca41d
Коммит cf2f3f94a1
2 изменённых файлов: 8 добавлений и 1 удалений

Просмотреть файл

@ -24,6 +24,7 @@
#include "mozilla/dom/RTCRtpSenderBinding.h"
#include "mozilla/dom/RTCRtpTransceiverBinding.h"
#include "mozilla/dom/TransceiverImplBinding.h"
#include "mozilla/Preferences.h"
namespace mozilla {
@ -59,7 +60,12 @@ TransceiverImpl::TransceiverImpl(
mConduit->SetPCHandle(mPCHandle);
mConduit->SetRtcpEventObserver(this);
// Until Bug 1232234 is fixed, we'll get extra RTCP BYES during renegotiation,
// so we'll disable muting on RTCP BYE and timeout for now.
if (Preferences::GetBool("media.peerconnection.mute_on_bye_or_timeout",
false)) {
mConduit->SetRtcpEventObserver(this);
}
mTransmitPipeline =
new MediaPipelineTransmit(mPCHandle, mTransportHandler, mMainThread.get(),

Просмотреть файл

@ -502,6 +502,7 @@ pref("media.videocontrols.picture-in-picture.video-toggle.always-show", false);
pref("media.peerconnection.ice.proxy_only_if_behind_proxy", false);
pref("media.peerconnection.ice.proxy_only", false);
pref("media.peerconnection.turn.disable", false);
pref("media.peerconnection.mute_on_bye_or_timeout", false);
// 770 = DTLS 1.0, 771 = DTLS 1.2
pref("media.peerconnection.dtls.version.min", 770);