添加RTP异常包处理逻辑

This commit is contained in:
xiongziliang
2019-04-24 11:40:54 +08:00
parent 9ce5c146a9
commit c0d3185a38
4 changed files with 11 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
/*
/*
* MIT License
*
* Copyright (c) 2016 xiongziliang <771730766@qq.com>
@@ -188,6 +188,7 @@ void RtspSession::onRtpPacket(const char *data, uint64_t len) {
}
if(len > 1600){
//没有大于MTU的包
WarnL << "大于MTU的RTP包:" << len << ",来自:" << get_peer_ip();
return;
}
int trackIdx = -1;