diff --git a/src/Rtsp/RtpParser.cpp b/src/Rtsp/RtpParser.cpp index 0d5a4a8d..4e96c1eb 100644 --- a/src/Rtsp/RtpParser.cpp +++ b/src/Rtsp/RtpParser.cpp @@ -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; } }