mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-17 23:37:49 +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
|
case 8://PPS
|
||||||
m_strPPS=frame.data;
|
m_strPPS=frame.data;
|
||||||
break;
|
break;
|
||||||
|
case 1:
|
||||||
|
//B or P
|
||||||
|
onGetH264(frame);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
onGetH264(frame);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user