From d74f2ff155240569a3effa43580fba61debc2442 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Sat, 8 May 2021 21:43:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dremb=E5=92=8Ctwcc=E5=BC=80?= =?UTF-8?q?=E5=85=B3=E7=9B=B8=E5=85=B3bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webrtc/Sdp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webrtc/Sdp.cpp b/webrtc/Sdp.cpp index 02ecef91..757aac80 100644 --- a/webrtc/Sdp.cpp +++ b/webrtc/Sdp.cpp @@ -1349,7 +1349,7 @@ string const SdpConst::kRembRtcpFb = "goog-remb"; void RtcConfigure::RtcTrackConfigure::enableTWCC(bool enable){ if (!enable) { rtcp_fb.erase(SdpConst::kTWCCRtcpFb); - extmap.erase(RtpExtType::abs_send_time); + extmap.erase(RtpExtType::transport_cc); } else { rtcp_fb.emplace(SdpConst::kTWCCRtcpFb); extmap.emplace(RtpExtType::transport_cc); @@ -1362,7 +1362,7 @@ void RtcConfigure::RtcTrackConfigure::enableREMB(bool enable){ extmap.erase(RtpExtType::abs_send_time); } else { rtcp_fb.emplace(SdpConst::kRembRtcpFb); - extmap.emplace(RtpExtType::transport_cc); + extmap.emplace(RtpExtType::abs_send_time); } }