mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
修复hls播放失败不回调的bug
This commit is contained in:
parent
bab11b426e
commit
0e26161574
@ -254,7 +254,9 @@ void HlsPlayerImp::onAllTrackReady() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void HlsPlayerImp::onPlayResult(const SockException &ex) {
|
void HlsPlayerImp::onPlayResult(const SockException &ex) {
|
||||||
|
if(ex){
|
||||||
|
PlayerImp<HlsPlayer, PlayerBase>::onPlayResult(ex);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vector<Track::Ptr> HlsPlayerImp::getTracks(bool trackReady) const {
|
vector<Track::Ptr> HlsPlayerImp::getTracks(bool trackReady) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user