mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-22 14:00:54 +08:00
重连时,注销直接拉流代理的流:#532
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user