mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1164061 - WebRTC - move TMMBR behind pref r=jesup
This commit is contained in:
parent
ae4c1fe198
commit
6ee6ee823c
@ -324,8 +324,10 @@ struct JsepVideoCodecDescription : public JsepCodecDescription {
|
||||
mDefaultPt, SdpRtcpFbAttributeList::kNack, SdpRtcpFbAttributeList::pli);
|
||||
rtcpfb.PushEntry(
|
||||
mDefaultPt, SdpRtcpFbAttributeList::kCcm, SdpRtcpFbAttributeList::fir);
|
||||
rtcpfb.PushEntry(
|
||||
mDefaultPt, SdpRtcpFbAttributeList::kCcm, SdpRtcpFbAttributeList::tmmbr);
|
||||
if (mUseTmmbr) {
|
||||
rtcpfb.PushEntry(
|
||||
mDefaultPt, SdpRtcpFbAttributeList::kCcm, SdpRtcpFbAttributeList::tmmbr);
|
||||
}
|
||||
}
|
||||
|
||||
SdpFmtpAttributeList::H264Parameters
|
||||
@ -668,6 +670,7 @@ struct JsepVideoCodecDescription : public JsepCodecDescription {
|
||||
uint32_t mMaxCpb;
|
||||
uint32_t mMaxDpb;
|
||||
uint32_t mMaxBr;
|
||||
bool mUseTmmbr;
|
||||
std::string mSpropParameterSets;
|
||||
};
|
||||
|
||||
|
@ -966,6 +966,10 @@ PeerConnectionImpl::ConfigureJsepSessionCodecs() {
|
||||
videoCodec.mMaxFr = maxFr;
|
||||
|
||||
}
|
||||
|
||||
videoCodec.mUseTmmbr = false;
|
||||
branch->GetBoolPref("media.navigator.video.use_tmmbr",
|
||||
&videoCodec.mUseTmmbr);
|
||||
}
|
||||
break;
|
||||
case SdpMediaSection::kText:
|
||||
|
Loading…
Reference in New Issue
Block a user