diff --git a/trunk/src/kernel/srs_kernel_codec.cpp b/trunk/src/kernel/srs_kernel_codec.cpp index 7351573c0..63b787d54 100644 --- a/trunk/src/kernel/srs_kernel_codec.cpp +++ b/trunk/src/kernel/srs_kernel_codec.cpp @@ -708,6 +708,9 @@ srs_error_t SrsFormat::video_avc_demux(SrsBuffer* stream, int64_t timestamp) return err; } +// For media server, we don't care the codec, so we just try to parse sps-pps, and we could ignore any error if fail. +// LCOV_EXCL_START + srs_error_t SrsFormat::avc_demux_sps_pps(SrsBuffer* stream) { // AVCDecoderConfigurationRecord @@ -1016,6 +1019,8 @@ srs_error_t SrsFormat::avc_demux_sps_rbsp(char* rbsp, int nb_rbsp) return err; } +// LCOV_EXCL_STOP + srs_error_t SrsFormat::video_nalu_demux(SrsBuffer* stream) { srs_error_t err = srs_success;