mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
完善rtmp兼容性问题
This commit is contained in:
parent
38c2c465f7
commit
d3a58521c8
@ -95,6 +95,14 @@ inline void H264RtmpDecoder::onGetH264_l(const char* pcData, int iLen, uint32_t
|
||||
onGetH264(pcData, iLen, dts , pts);
|
||||
}
|
||||
break;
|
||||
case H264Frame::NAL_SPS: {
|
||||
_sps.assign(pcData, iLen);
|
||||
}
|
||||
break;
|
||||
case H264Frame::NAL_PPS:{
|
||||
_pps.assign(pcData, iLen);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user