File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -1742,8 +1742,9 @@ shaka.media.StreamingEngine = class {
1742
1742
// If there's positive drift then we need to adjust the lookup time, and
1743
1743
// may wind up requesting the previous segment to be safe.
1744
1744
// inaccurateManifestTolerance should be 0 for low latency streaming.
1745
- const inaccurateTolerance = this . manifest_ . sequenceMode ?
1746
- 0 : this . config_ . inaccurateManifestTolerance ;
1745
+ const inaccurateTolerance =
1746
+ ( this . manifest_ . sequenceMode || this . shouldUseCrossBoundaryLogic_ ( ) ) ?
1747
+ 0 : this . config_ . inaccurateManifestTolerance ;
1747
1748
const lookupTime = Math . max ( presentationTime - inaccurateTolerance , 0 ) ;
1748
1749
1749
1750
shaka . log . v1 ( logPrefix , 'looking up segment' ,
Original file line number Diff line number Diff line change @@ -4594,15 +4594,6 @@ shaka.Player = class extends shaka.util.FakeEventTarget {
4594
4594
delete config [ 'streaming' ] [ 'minBytesForProgressEvents' ] ;
4595
4595
}
4596
4596
4597
- // Enforce inaccurateManifestTolerance: 0 when using crossBoundaryStrategy
4598
- // different from KEEP.
4599
- if ( config [ 'streaming' ] && 'crossBoundaryStrategy' in config [ 'streaming' ] ) {
4600
- if ( config [ 'streaming' ] [ 'crossBoundaryStrategy' ] !=
4601
- shaka . config . CrossBoundaryStrategy . KEEP ) {
4602
- config [ 'streaming' ] [ 'inaccurateManifestTolerance' ] = 0 ;
4603
- }
4604
- }
4605
-
4606
4597
const ret = shaka . util . PlayerConfiguration . mergeConfigObjects (
4607
4598
this . config_ , config , this . defaultConfig_ ( ) ) ;
4608
4599
You can’t perform that action at this time.
0 commit comments