From 40a5c78c8d950b420eb89ba585073537dfcfea93 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Sat, 14 Aug 2021 16:21:05 +0200 Subject: [PATCH] fix comment --- internal/core/rtmp_conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/core/rtmp_conn.go b/internal/core/rtmp_conn.go index 8ea9f88b..93c6dc49 100644 --- a/internal/core/rtmp_conn.go +++ b/internal/core/rtmp_conn.go @@ -311,7 +311,7 @@ func (c *rtmpConn) runRead(ctx context.Context) error { } for _, nalu := range nalus { - // remove SPS, PPS and AUD, not needed by RTSP + // remove SPS, PPS and AUD, not needed by RTMP typ := h264.NALUType(nalu[0] & 0x1F) switch typ { case h264.NALUTypeSPS, h264.NALUTypePPS, h264.NALUTypeAccessUnitDelimiter: