diff --git a/src/Player/PlayerProxy.cpp b/src/Player/PlayerProxy.cpp index f2a4b236..03e4b8cf 100644 --- a/src/Player/PlayerProxy.cpp +++ b/src/Player/PlayerProxy.cpp @@ -93,6 +93,10 @@ void PlayerProxy::play(const string &strUrlTmp) { if(!strongSelf) { return; } + + //注销直接拉流代理产生的流:#532 + strongSelf->setMediaSource(nullptr); + if(strongSelf->_muxer) { auto tracks = strongSelf->MediaPlayer::getTracks(false); for (auto & track : tracks){