完善rtmp兼容性问题

This commit is contained in:
xiongziliang 2019-04-04 10:02:16 +08:00
parent 38c2c465f7
commit d3a58521c8

View File

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