diff --git a/src/Http/HlsPlayer.cpp b/src/Http/HlsPlayer.cpp index 16499084..16111752 100644 --- a/src/Http/HlsPlayer.cpp +++ b/src/Http/HlsPlayer.cpp @@ -254,7 +254,9 @@ void HlsPlayerImp::onAllTrackReady() { } void HlsPlayerImp::onPlayResult(const SockException &ex) { - + if(ex){ + PlayerImp::onPlayResult(ex); + } } vector HlsPlayerImp::getTracks(bool trackReady) const {