mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-06 19:07:49 +08:00
重连时,注销直接拉流代理的流:#532
This commit is contained in:
parent
dd2abd7924
commit
bfdd02905c
@ -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){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user