From 23db40220bb1d133321f81129ed621fa7741af42 Mon Sep 17 00:00:00 2001 From: Alexey Khit Date: Thu, 9 Feb 2023 06:42:04 +0300 Subject: [PATCH] Fix H264 processing for RtspServer project #244 --- pkg/h264/rtp.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/h264/rtp.go b/pkg/h264/rtp.go index 024ccf74..3e1c1052 100644 --- a/pkg/h264/rtp.go +++ b/pkg/h264/rtp.go @@ -36,6 +36,10 @@ func RTPDepay(track *streamer.Track) streamer.WrapperFunc { case NALUTypeSPS, NALUTypePPS: buf = append(buf, payload...) return nil + case NALUTypeSEI: + // RtspServer https://github.com/AlexxIT/go2rtc/issues/244 + // sends, marked SPS, marked PPS, marked SEI, marked IFrame + return nil } }