diff --git a/src/Common/MultiMediaSourceMuxer.cpp b/src/Common/MultiMediaSourceMuxer.cpp index f3d44352..906af81c 100644 --- a/src/Common/MultiMediaSourceMuxer.cpp +++ b/src/Common/MultiMediaSourceMuxer.cpp @@ -361,6 +361,10 @@ bool MultiMediaSourceMuxer::stopSendRtp(MediaSource &sender){ } void MultiMediaSourceMuxer::addTrack(const Track::Ptr &track) { + if (CodecL16 == track->getCodecId()) { + WarnL << "L16音频格式目前只支持RTSP协议推流拉流!!!"; + return; + } _muxer->addTrack(track); }