Skip to content

Commit

Permalink
fix: Don't retry MSE errors on startup (#6112)
Browse files Browse the repository at this point in the history
Do not retry MSE errors on startup to avoid masking errors when the
stream loads
  • Loading branch information
avelad committed Jan 16, 2024
1 parent e48438f commit de7d8d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/media/streaming_engine.js
Expand Up @@ -121,7 +121,7 @@ shaka.media.StreamingEngine = class {
this.destroyer_ = new shaka.util.Destroyer(() => this.doDestroy_());

/** @private {number} */
this.lastMediaSourceReset_ = 0;
this.lastMediaSourceReset_ = Date.now() / 1000;
}

/** @override */
Expand Down

0 comments on commit de7d8d3

Please sign in to comment.