添加无人观看主动断开事件
This commit is contained in:
parent
b0bf216bc2
commit
5b88057a89
|
|
@ -39,9 +39,8 @@ public:
|
||||||
RtspMediaSourceMuxer(const string &vhost,
|
RtspMediaSourceMuxer(const string &vhost,
|
||||||
const string &strApp,
|
const string &strApp,
|
||||||
const string &strId,
|
const string &strId,
|
||||||
const TitleSdp::Ptr &title = nullptr,
|
const TitleSdp::Ptr &title = nullptr) : RtspMuxer(title){
|
||||||
bool masterSrc = true) : RtspMuxer(title){
|
_mediaSouce = std::make_shared<RtspMediaSource>(vhost,strApp,strId);
|
||||||
_mediaSouce = std::make_shared<RtspMediaSource>(vhost,strApp,strId,0,masterSrc);
|
|
||||||
getRtpRing()->setDelegate(_mediaSouce);
|
getRtpRing()->setDelegate(_mediaSouce);
|
||||||
}
|
}
|
||||||
virtual ~RtspMediaSourceMuxer(){}
|
virtual ~RtspMediaSourceMuxer(){}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue