mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 20:27:34 +08:00
fix typo. (#2644)
This commit is contained in:
parent
9e8568e753
commit
d41afa5d48
@ -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;
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user