修复直接拉流代理时有些事件不生效的bug

This commit is contained in:
xiongziliang 2020-09-06 17:52:57 +08:00
parent 636068b2b8
commit 16e21e0205

View File

@ -272,6 +272,8 @@ void PlayerProxy::onPlaySuccess() {
if (_pMediaSrc) {
_pMediaSrc->setTrackSource(_muxer);
//让_muxer对象拦截一部分事件(比如说录像相关事件)
_pMediaSrc->setListener(_muxer);
}
}