This commit is contained in:
johzzy 2023-07-09 10:25:10 +08:00 committed by GitHub
parent 9e8568e753
commit d41afa5d48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ void HttpRequestSplitter::input(const char *data,size_t len) {
_remain_data.assign(ptr, _remain_data_size); _remain_data.assign(ptr, _remain_data_size);
return; return;
} }
//收到content数据并且接content完毕 //收到content数据并且接content完毕
onRecvContent(ptr,_content_len); onRecvContent(ptr,_content_len);
_remain_data_size -= _content_len; _remain_data_size -= _content_len;

View File

@ -71,7 +71,7 @@ RtpPacket::Ptr RtpTrack::inputRtp(TrackType type, int sample_rate, uint8_t *ptr,
} else { } else {
//ssrc错误 //ssrc错误
if (_ssrc_alive.elapsedTime() < 3 * 1000) { if (_ssrc_alive.elapsedTime() < 3 * 1000) {
//接正确ssrc的rtp在10秒内那么我们认为存在多路rtp,忽略掉ssrc不匹配的rtp //接正确ssrc的rtp在10秒内那么我们认为存在多路rtp,忽略掉ssrc不匹配的rtp
WarnL << "ssrc mismatch, rtp dropped:" << ssrc << " != " << _ssrc; WarnL << "ssrc mismatch, rtp dropped:" << ssrc << " != " << _ssrc;
return nullptr; return nullptr;
} }