From 826ec33c2cb41a813e092c18c4ba735546075d32 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Sat, 8 May 2021 19:45:53 +0800 Subject: [PATCH] =?UTF-8?q?rtx=20ssrc=E4=B8=8D=E5=BC=BA=E5=88=B6=E6=8C=87?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webrtc/Sdp.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webrtc/Sdp.cpp b/webrtc/Sdp.cpp index 35cad68e..8f633566 100644 --- a/webrtc/Sdp.cpp +++ b/webrtc/Sdp.cpp @@ -1253,11 +1253,15 @@ void RtcMedia::checkValid() const{ CHECK(!plan.empty() || type == TrackApplication ); bool send_rtp = (direction == RtpDirection::sendonly || direction == RtpDirection::sendrecv); CHECK(!rtp_rtx_ssrc.empty() || !send_rtp); + +#if 0 + //todo 发现Firefox(88.0)在mac平台下,开启rtx后没有指定ssrc auto rtx_plan = getPlan("rtx"); if (rtx_plan) { //开启rtx后必须指定rtx_ssrc CHECK(rtp_rtx_ssrc.size() >= 2 || !send_rtp); } +#endif } void RtcSession::checkValid() const{