diff --git a/pkg/remux/rtmp2mpegts_filter_.go b/pkg/remux/rtmp2mpegts_filter_.go index 807abad..d127df3 100644 --- a/pkg/remux/rtmp2mpegts_filter_.go +++ b/pkg/remux/rtmp2mpegts_filter_.go @@ -109,7 +109,7 @@ func (q *rtmp2MpegtsFilter) drain() { func (q *rtmp2MpegtsFilter) getVideoStreamType() uint8 { switch q.videoCodecId { case int(base.RtmpCodecIdAvc): - return mpegts.StreamTypeAac + return mpegts.StreamTypeAvc case int(base.RtmpCodecIdHevc): return mpegts.StreamTypeHevc }