修复hls播放失败不回调的bug

This commit is contained in:
xiongziliang 2020-05-17 19:10:08 +08:00
parent bab11b426e
commit 0e26161574

View File

@ -254,7 +254,9 @@ void HlsPlayerImp::onAllTrackReady() {
}
void HlsPlayerImp::onPlayResult(const SockException &ex) {
if(ex){
PlayerImp<HlsPlayer, PlayerBase>::onPlayResult(ex);
}
}
vector<Track::Ptr> HlsPlayerImp::getTracks(bool trackReady) const {