mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 03:31:45 +08:00
L16格式消除unknown codec提醒,添加只支持RTSP协议推流拉流提醒
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user