mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-22 00:42:22 +08:00
添加RTP异常包处理逻辑
This commit is contained in:
@@ -447,6 +447,7 @@ void RtspPlayer::onWholeRtspPacket(Parser &parser) {
|
||||
void RtspPlayer::onRtpPacket(const char *data, uint64_t len) {
|
||||
if(len > 1600){
|
||||
//没有大于MTU的包
|
||||
WarnL << "大于MTU的RTP包:" << len << ",来自:" << get_peer_ip();
|
||||
return;
|
||||
}
|
||||
int trackIdx = -1;
|
||||
|
||||
Reference in New Issue
Block a user