Merge pull request #656 from rmokerone/master

RTSP推流增加L16动态payload type支持(RFC 3551 Section 4.5.11, RFC 2586)
This commit is contained in:
夏楚
2020-12-27 21:00:34 +08:00
committed by GitHub
6 changed files with 115 additions and 1 deletions

View File

@@ -369,6 +369,10 @@ bool MultiMediaSourceMuxer::stopSendRtp(MediaSource &sender, const string& ssrc)
}
void MultiMediaSourceMuxer::addTrack(const Track::Ptr &track) {
if (CodecL16 == track->getCodecId()) {
WarnL << "L16音频格式目前只支持RTSP协议推流拉流!!!";
return;
}
_muxer->addTrack(track);
}