for firefox ingore ssrc is 0

This commit is contained in:
xgj 2021-06-25 10:08:53 +08:00
parent e9d28c1386
commit e7e7906ecd

View File

@ -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:"<<rtx;
return;
}
assert(ref);
ref->inputRtp(info->media->type, info->plan_rtp->sample_rate, (uint8_t *) buf, len);
return;