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