mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 20:47:08 +08:00
忽略sps/pps/b/p/idr之外的帧
This commit is contained in:
parent
9f07f98001
commit
06bcece24b
@ -285,9 +285,12 @@ inline void RtpParser::_onGetH264(H264Frame& frame) {
|
|||||||
case 8://PPS
|
case 8://PPS
|
||||||
m_strPPS=frame.data;
|
m_strPPS=frame.data;
|
||||||
break;
|
break;
|
||||||
default:
|
case 1:
|
||||||
|
//B or P
|
||||||
onGetH264(frame);
|
onGetH264(frame);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user