修复推rtsp L16崩溃

This commit is contained in:
Dw9 2022-09-25 12:13:09 +08:00
parent 9b8f2c5f3d
commit 6f1a45db8a

View File

@ -312,10 +312,6 @@ EventPoller::Ptr MultiMediaSourceMuxer::getOwnerPoller(MediaSource &sender) {
} }
bool MultiMediaSourceMuxer::onTrackReady(const Track::Ptr &track) { bool MultiMediaSourceMuxer::onTrackReady(const Track::Ptr &track) {
if (CodecL16 == track->getCodecId()) {
WarnL << "L16音频格式目前只支持RTSP协议推流拉流!!!";
return false;
}
bool ret = false; bool ret = false;
if (_rtmp) { if (_rtmp) {