修复rtsp组播相关的bug

This commit is contained in:
xiongziliang
2019-05-10 18:33:23 +08:00
parent b43df8be24
commit 37d842e444
3 changed files with 11 additions and 11 deletions

View File

@@ -637,7 +637,7 @@ bool RtspSession::handleReq_Setup(const Parser &parser) {
break;
case Rtsp::RTP_MULTICAST: {
if(!_pBrdcaster){
_pBrdcaster = RtpBroadCaster::get(get_local_ip(),_mediaInfo._vhost, _mediaInfo._app, _mediaInfo._streamid);
_pBrdcaster = RtpBroadCaster::get(getPoller(),get_local_ip(),_mediaInfo._vhost, _mediaInfo._app, _mediaInfo._streamid);
if (!_pBrdcaster) {
send_NotAcceptable();
return false;