hls.js 1.5.5-0.canary.9986 → 1.5.5-0.canary.9987

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/hls.mjs CHANGED
@@ -512,7 +512,7 @@ function enableLogs(debugConfig, context, id) {
512
512
  // Some browsers don't allow to use bind on console object anyway
513
513
  // fallback to default if needed
514
514
  try {
515
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.5-0.canary.9986"}`);
515
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.5-0.canary.9987"}`);
516
516
  } catch (e) {
517
517
  /* log fn threw an exception. All logger methods are no-ops. */
518
518
  return createLogger();
@@ -17774,7 +17774,7 @@ class SubtitleStreamController extends BaseStreamController {
17774
17774
  onSubtitleTracksUpdated(event, {
17775
17775
  subtitleTracks
17776
17776
  }) {
17777
- if (!this.levels || subtitleOptionsIdentical(this.levels, subtitleTracks)) {
17777
+ if (this.levels && subtitleOptionsIdentical(this.levels, subtitleTracks)) {
17778
17778
  this.levels = subtitleTracks.map(mediaPlaylist => new Level(mediaPlaylist));
17779
17779
  return;
17780
17780
  }
@@ -28594,7 +28594,7 @@ class Hls {
28594
28594
  * Get the video-dev/hls.js package version.
28595
28595
  */
28596
28596
  static get version() {
28597
- return "1.5.5-0.canary.9986";
28597
+ return "1.5.5-0.canary.9987";
28598
28598
  }
28599
28599
 
28600
28600
  /**