mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +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
|
||||
m_strPPS=frame.data;
|
||||
break;
|
||||
default:
|
||||
case 1:
|
||||
//B or P
|
||||
onGetH264(frame);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user