L16格式消除unknown codec提醒,添加只支持RTSP协议推流拉流提醒

This commit is contained in:
Liu Jiang 2020-12-26 16:52:36 +08:00
parent d270a78089
commit 923768623a

View File

@ -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);
}