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.js CHANGED
@@ -1057,7 +1057,7 @@
1057
1057
  // Some browsers don't allow to use bind on console object anyway
1058
1058
  // fallback to default if needed
1059
1059
  try {
1060
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10773");
1060
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10777");
1061
1061
  } catch (e) {
1062
1062
  /* log fn threw an exception. All logger methods are no-ops. */
1063
1063
  return createLogger();
@@ -2965,14 +2965,18 @@
2965
2965
 
2966
2966
  var NetworkErrorAction = {
2967
2967
  DoNothing: 0,
2968
+ SendEndCallback: 1,
2968
2969
  SendAlternateToPenaltyBox: 2,
2969
2970
  RemoveAlternatePermanently: 3,
2971
+ InsertDiscontinuity: 4,
2970
2972
  RetryRequest: 5
2971
2973
  };
2972
2974
  var ErrorActionFlags = {
2973
2975
  None: 0,
2974
2976
  MoveAllAlternatesMatchingHost: 1,
2975
- MoveAllAlternatesMatchingHDCP: 2}; // Reserved for future use
2977
+ MoveAllAlternatesMatchingHDCP: 2,
2978
+ SwitchToSDR: 4
2979
+ }; // Reserved for future use
2976
2980
  var ErrorController = /*#__PURE__*/function (_Logger) {
2977
2981
  function ErrorController(hls) {
2978
2982
  var _this;
@@ -7238,6 +7242,7 @@
7238
7242
  var KeySystemIds = {
7239
7243
  CENC: "1077efecc0b24d02ace33c1e52e2fb4b",
7240
7244
  CLEARKEY: "e2719d58a985b3c9781ab030af78d30e",
7245
+ FAIRPLAY: "94ce86fb07ff4f43adb893d2fa968ca2",
7241
7246
  PLAYREADY: "9a04f07998404286ab92e65be0885f95",
7242
7247
  WIDEVINE: "edef8ba979d64acea3c827dcd51d21ed"
7243
7248
  };
@@ -16253,7 +16258,7 @@
16253
16258
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
16254
16259
  }
16255
16260
 
16256
- var version = "1.6.0-beta.1.0.canary.10773";
16261
+ var version = "1.6.0-beta.1.0.canary.10777";
16257
16262
 
16258
16263
  // ensure the worker ends up in the bundle
16259
16264
  // If the worker should not be included this gets aliased to empty.js
@@ -19936,10 +19941,23 @@
19936
19941
  * init segment
19937
19942
  */
19938
19943
  INIT: 'i',
19944
+ /**
19945
+ * caption or subtitle
19946
+ */
19947
+ CAPTION: 'c',
19939
19948
  /**
19940
19949
  * ISOBMFF timed text track
19941
19950
  */
19942
- TIMED_TEXT: 'tt'};
19951
+ TIMED_TEXT: 'tt',
19952
+ /**
19953
+ * cryptographic key, license or certificate.
19954
+ */
19955
+ KEY: 'k',
19956
+ /**
19957
+ * other
19958
+ */
19959
+ OTHER: 'o'
19960
+ };
19943
19961
 
19944
19962
  /**
19945
19963
  * Common Media Client Data Object Type
@@ -19958,10 +19976,23 @@
19958
19976
  * @internal
19959
19977
  */
19960
19978
  var CmStreamingFormat = {
19979
+ /**
19980
+ * MPEG DASH
19981
+ */
19982
+ DASH: 'd',
19961
19983
  /**
19962
19984
  * HTTP Live Streaming (HLS)
19963
19985
  */
19964
- HLS: 'h'};
19986
+ HLS: 'h',
19987
+ /**
19988
+ * Smooth Streaming
19989
+ */
19990
+ SMOOTH: 's',
19991
+ /**
19992
+ * Other
19993
+ */
19994
+ OTHER: 'o'
19995
+ };
19965
19996
 
19966
19997
  /**
19967
19998
  * Common Media Client Data Streaming Format
@@ -28975,7 +29006,9 @@
28975
29006
  if (canReuseVttTextTrack(textTrack, {
28976
29007
  name: label,
28977
29008
  lang: language,
28978
- characteristics: 'transcribes-spoken-dialog,describes-music-and-sound'})) {
29009
+ characteristics: 'transcribes-spoken-dialog,describes-music-and-sound',
29010
+ attrs: {}
29011
+ })) {
28979
29012
  return textTrack;
28980
29013
  }
28981
29014
  }