hls.js 1.6.0-beta.1.0.canary.10773 → 1.6.0-beta.1.0.canary.10777

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
@@ -400,7 +400,7 @@ function enableLogs(debugConfig, context, id) {
400
400
  // Some browsers don't allow to use bind on console object anyway
401
401
  // fallback to default if needed
402
402
  try {
403
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.1.0.canary.10773"}`);
403
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.1.0.canary.10777"}`);
404
404
  } catch (e) {
405
405
  /* log fn threw an exception. All logger methods are no-ops. */
406
406
  return createLogger();
@@ -2227,14 +2227,18 @@ function retryForHttpStatus(httpStatus) {
2227
2227
 
2228
2228
  var NetworkErrorAction = {
2229
2229
  DoNothing: 0,
2230
+ SendEndCallback: 1,
2230
2231
  SendAlternateToPenaltyBox: 2,
2231
2232
  RemoveAlternatePermanently: 3,
2233
+ InsertDiscontinuity: 4,
2232
2234
  RetryRequest: 5
2233
2235
  };
2234
2236
  var ErrorActionFlags = {
2235
2237
  None: 0,
2236
2238
  MoveAllAlternatesMatchingHost: 1,
2237
- MoveAllAlternatesMatchingHDCP: 2}; // Reserved for future use
2239
+ MoveAllAlternatesMatchingHDCP: 2,
2240
+ SwitchToSDR: 4
2241
+ }; // Reserved for future use
2238
2242
  class ErrorController extends Logger {
2239
2243
  constructor(hls) {
2240
2244
  super('error-controller', hls.logger);
@@ -6518,6 +6522,7 @@ function keySystemFormatToKeySystemDomain(format) {
6518
6522
  var KeySystemIds = {
6519
6523
  CENC: "1077efecc0b24d02ace33c1e52e2fb4b",
6520
6524
  CLEARKEY: "e2719d58a985b3c9781ab030af78d30e",
6525
+ FAIRPLAY: "94ce86fb07ff4f43adb893d2fa968ca2",
6521
6526
  PLAYREADY: "9a04f07998404286ab92e65be0885f95",
6522
6527
  WIDEVINE: "edef8ba979d64acea3c827dcd51d21ed"
6523
6528
  };
@@ -9801,7 +9806,7 @@ var eventemitter3 = {exports: {}};
9801
9806
  var eventemitter3Exports = eventemitter3.exports;
9802
9807
  var EventEmitter = /*@__PURE__*/getDefaultExportFromCjs(eventemitter3Exports);
9803
9808
 
9804
- const version = "1.6.0-beta.1.0.canary.10773";
9809
+ const version = "1.6.0-beta.1.0.canary.10777";
9805
9810
 
9806
9811
  // ensure the worker ends up in the bundle
9807
9812
  // If the worker should not be included this gets aliased to empty.js
@@ -19302,10 +19307,23 @@ const CmObjectType = {
19302
19307
  * init segment
19303
19308
  */
19304
19309
  INIT: 'i',
19310
+ /**
19311
+ * caption or subtitle
19312
+ */
19313
+ CAPTION: 'c',
19305
19314
  /**
19306
19315
  * ISOBMFF timed text track
19307
19316
  */
19308
- TIMED_TEXT: 'tt'};
19317
+ TIMED_TEXT: 'tt',
19318
+ /**
19319
+ * cryptographic key, license or certificate.
19320
+ */
19321
+ KEY: 'k',
19322
+ /**
19323
+ * other
19324
+ */
19325
+ OTHER: 'o'
19326
+ };
19309
19327
 
19310
19328
  /**
19311
19329
  * Common Media Client Data Object Type
@@ -19324,10 +19342,23 @@ const CmcdObjectType = CmObjectType;
19324
19342
  * @internal
19325
19343
  */
19326
19344
  const CmStreamingFormat = {
19345
+ /**
19346
+ * MPEG DASH
19347
+ */
19348
+ DASH: 'd',
19327
19349
  /**
19328
19350
  * HTTP Live Streaming (HLS)
19329
19351
  */
19330
- HLS: 'h'};
19352
+ HLS: 'h',
19353
+ /**
19354
+ * Smooth Streaming
19355
+ */
19356
+ SMOOTH: 's',
19357
+ /**
19358
+ * Other
19359
+ */
19360
+ OTHER: 'o'
19361
+ };
19331
19362
 
19332
19363
  /**
19333
19364
  * Common Media Client Data Streaming Format
@@ -28066,7 +28097,9 @@ class TimelineController {
28066
28097
  if (canReuseVttTextTrack(textTrack, {
28067
28098
  name: label,
28068
28099
  lang: language,
28069
- characteristics: 'transcribes-spoken-dialog,describes-music-and-sound'})) {
28100
+ characteristics: 'transcribes-spoken-dialog,describes-music-and-sound',
28101
+ attrs: {}
28102
+ })) {
28070
28103
  return textTrack;
28071
28104
  }
28072
28105
  }