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