修复rtsp重复推流判断无效的bug:#394

This commit is contained in:
xiongziliang 2020-07-08 12:42:05 +08:00
parent b2ff53037b
commit 7bce212701

View File

@ -218,7 +218,7 @@ void RtspSession::handleReq_Options(const Parser &parser) {
}
void RtspSession::handleReq_ANNOUNCE(const Parser &parser) {
auto src = dynamic_pointer_cast<RtmpMediaSource>(MediaSource::find(RTSP_SCHEMA,
auto src = dynamic_pointer_cast<RtspMediaSource>(MediaSource::find(RTSP_SCHEMA,
_mediaInfo._vhost,
_mediaInfo._app,
_mediaInfo._streamid));