mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-10-06 20:23:43 +08:00
修复直接拉流代理时有些事件不生效的bug
This commit is contained in:
parent
636068b2b8
commit
16e21e0205
|
@ -272,6 +272,8 @@ void PlayerProxy::onPlaySuccess() {
|
|||
|
||||
if (_pMediaSrc) {
|
||||
_pMediaSrc->setTrackSource(_muxer);
|
||||
//让_muxer对象拦截一部分事件(比如说录像相关事件)
|
||||
_pMediaSrc->setListener(_muxer);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user