mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-22 00:42:22 +08:00
删除多余代码逻辑
This commit is contained in:
@@ -186,11 +186,7 @@ void RtspSession::onRtpPacket(const char *data, uint64_t len) {
|
||||
if(!_pushSrc){
|
||||
return;
|
||||
}
|
||||
if(len > 1600){
|
||||
//没有大于MTU的包
|
||||
WarnL << "大于MTU的RTP包:" << len << ",来自:" << get_peer_ip();
|
||||
return;
|
||||
}
|
||||
|
||||
int trackIdx = -1;
|
||||
uint8_t interleaved = data[1];
|
||||
if(interleaved %2 == 0){
|
||||
|
||||
Reference in New Issue
Block a user