修复小bug

This commit is contained in:
xiongziliang 2018-10-28 01:08:26 +08:00
parent cb78764f1d
commit f899f3503f

View File

@ -100,6 +100,10 @@ void PlayerProxy::play(const char* strUrl) {
return;
}
if(strongSelf->_pChn) {
auto tracks = strongSelf->getTracks();
for (auto & track : tracks){
track->delDelegate(strongSelf->_pChn.get());
}
strongSelf->_pChn.reset();
}
//播放异常中断,延时重试播放