From 62cd2fba85eb308dc04a4d80e941404ef0306d0b Mon Sep 17 00:00:00 2001 From: john Date: Mon, 26 Sep 2022 09:05:13 -0500 Subject: [PATCH] SRT: do not ignore AUD nalus (#3187) --- trunk/src/app/srs_app_srt_source.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/trunk/src/app/srs_app_srt_source.cpp b/trunk/src/app/srs_app_srt_source.cpp index b66d80418..64c64c99f 100644 --- a/trunk/src/app/srs_app_srt_source.cpp +++ b/trunk/src/app/srs_app_srt_source.cpp @@ -383,11 +383,6 @@ srs_error_t SrsRtmpFromSrtBridge::on_ts_video(SrsTsMessage* msg, SrsBuffer* avs) // 7: SPS, 8: PPS, 5: I Frame, 1: P Frame SrsAvcNaluType nal_unit_type = (SrsAvcNaluType)(frame[0] & 0x1f); - // ignore the nalu type sps(7), pps(8), aud(9) - if (nal_unit_type == SrsAvcNaluTypeAccessUnitDelimiter) { - continue; - } - // for sps if (avc->is_sps(frame, frame_size)) { std::string sps;