From c452141894b7e6ad11ad75926d3adf4ba9300f83 Mon Sep 17 00:00:00 2001 From: q191201771 <191201771@qq.com> Date: Tue, 25 Apr 2023 20:04:09 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20mpegts:=20=E8=BD=ACts=E6=97=B6=EF=BC=8C?= =?UTF-8?q?pmt=E4=B8=AD=E7=9A=84avc=E6=A0=87=E5=BF=97=E5=86=99=E9=94=99?= =?UTF-8?q?=E5=AF=BC=E8=87=B4vlc=E6=97=A0=E6=B3=95=E6=92=AD=E6=94=BEh264?= =?UTF-8?q?=E7=BC=96=E7=A0=81=E7=9A=84=E8=A7=86=E9=A2=91=20#284=20#277?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/remux/rtmp2mpegts_filter_.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }