忽略sps/pps/b/p/idr之外的帧

This commit is contained in:
xiongziliang 2018-08-17 07:11:51 +08:00
parent 9f07f98001
commit 06bcece24b

View File

@ -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;
}
}