diff --git a/src/Player/PlayerProxy.cpp b/src/Player/PlayerProxy.cpp index 766db316..23a59ee2 100644 --- a/src/Player/PlayerProxy.cpp +++ b/src/Player/PlayerProxy.cpp @@ -248,6 +248,9 @@ void PlayerProxy::onPlaySuccess() { } } _mediaMuxer->setListener(shared_from_this()); + if(_pMediaSrc){ + _pMediaSrc->setTrackSource(_mediaMuxer); + } auto videoTrack = getTrack(TrackVideo,false); if(videoTrack){