File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -797,7 +797,9 @@ export default class DashAdapter extends BaseMediaSourceAdapter {
797797 case shaka . net . NetworkingEngine . RequestType . MANIFEST :
798798 this . _parseManifest ( response . data ) ;
799799 this . _playbackActualUri = response . uri ;
800- this . _liveEntryStValue = response . uri ?. match ( / \/ s t \/ ( [ 0 1 ] ) \/ / ) ?. [ 1 ] ?? '' ;
800+ if ( ! this . _liveEntryStValue ) {
801+ this . _liveEntryStValue = response . uri ?. match ( / \/ s t \/ ( [ 0 1 ] ) \/ / ) ?. [ 1 ] ?? '' ;
802+ }
801803 this . _trigger ( EventType . MANIFEST_LOADED , { miliSeconds : response . timeMs } ) ;
802804 setTimeout ( ( ) => {
803805 this . _isLive = this . _isLive || this . _shaka ?. isLive ( ) as boolean ;
@@ -964,6 +966,7 @@ export default class DashAdapter extends BaseMediaSourceAdapter {
964966 this . _responseFilterError = false ;
965967 this . _manifestParser = null ;
966968 this . _thumbnailController = null ;
969+ this . _liveEntryStValue = '' ;
967970 this . _errorCounter = { } ;
968971 this . _clearStallInterval ( ) ;
969972 this . _clearVideoUpdateTimer ( ) ;
You can’t perform that action at this time.
0 commit comments