From c03ea1d893da02427c985687d7d410674fcd58dd Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Fri, 26 Oct 2018 18:40:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DAAC=20rtmp=E6=89=93=E5=8C=85?= =?UTF-8?q?=E5=99=A8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/RtmpMuxer/AACRtmpCodec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RtmpMuxer/AACRtmpCodec.cpp b/src/RtmpMuxer/AACRtmpCodec.cpp index b650447d..1a4e4178 100644 --- a/src/RtmpMuxer/AACRtmpCodec.cpp +++ b/src/RtmpMuxer/AACRtmpCodec.cpp @@ -109,7 +109,7 @@ void AACRtmpEncoder::inputFrame(const Frame::Ptr &frame) { rtmpPkt->streamId = STREAM_MEDIA; rtmpPkt->timeStamp = frame->stamp(); rtmpPkt->typeId = MSG_AUDIO; - inputRtmp(rtmpPkt, false); + RtmpCodec::inputRtmp(rtmpPkt, false); } } @@ -157,7 +157,7 @@ void AACRtmpEncoder::makeAudioConfigPkt() { rtmpPkt->streamId = STREAM_MEDIA; rtmpPkt->timeStamp = 0; rtmpPkt->typeId = MSG_AUDIO; - inputRtmp(rtmpPkt, false); + RtmpCodec::inputRtmp(rtmpPkt, false); } }//namespace mediakit \ No newline at end of file