From e7e7906ecd1bbce36d51c55fc6bc57deccc68731 Mon Sep 17 00:00:00 2001 From: xgj Date: Fri, 25 Jun 2021 10:08:53 +0800 Subject: [PATCH] for firefox ingore ssrc is 0 --- webrtc/WebRtcTransport.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webrtc/WebRtcTransport.cpp b/webrtc/WebRtcTransport.cpp index 22e85d4f..c5bc5bd1 100644 --- a/webrtc/WebRtcTransport.cpp +++ b/webrtc/WebRtcTransport.cpp @@ -792,6 +792,10 @@ void WebRtcTransportImp::onRtp_l(const char *buf, size_t len, bool rtx) { } } //解析并排序rtp + if(!ref){ + InfoL << "ignore no rtp receiver of ssrc:" << ssrc<<" is rtx:"<inputRtp(info->media->type, info->plan_rtp->sample_rate, (uint8_t *) buf, len); return;