Merge pull request #1994 from Dw9/master

修复rtsp 推pcm L16, 空指针的异常
This commit is contained in:
夏楚
2022-09-26 10:27:30 +08:00
committed by GitHub
2 changed files with 1 additions and 5 deletions

View File

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