hls.js 1.6.0-beta.2.0.canary.10928 → 1.6.0-beta.2.0.canary.10930

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-demo.js CHANGED
@@ -1218,7 +1218,7 @@
1218
1218
  }
1219
1219
  }
1220
1220
  function _createClass(e, r, t) {
1221
- return _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
1221
+ return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", {
1222
1222
  writable: false
1223
1223
  }), e;
1224
1224
  }
package/dist/hls.js CHANGED
@@ -115,7 +115,7 @@
115
115
  if ("object" != typeof t || !t) return t;
116
116
  var e = t[Symbol.toPrimitive];
117
117
  if (undefined !== e) {
118
- var i = e.call(t, r || "default");
118
+ var i = e.call(t, r);
119
119
  if ("object" != typeof i) return i;
120
120
  throw new TypeError("@@toPrimitive must return a primitive value.");
121
121
  }
@@ -1059,7 +1059,7 @@
1059
1059
  // Some browsers don't allow to use bind on console object anyway
1060
1060
  // fallback to default if needed
1061
1061
  try {
1062
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.2.0.canary.10928");
1062
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.2.0.canary.10930");
1063
1063
  } catch (e) {
1064
1064
  /* log fn threw an exception. All logger methods are no-ops. */
1065
1065
  return createLogger();
@@ -2970,18 +2970,14 @@
2970
2970
 
2971
2971
  var NetworkErrorAction = {
2972
2972
  DoNothing: 0,
2973
- SendEndCallback: 1,
2974
2973
  SendAlternateToPenaltyBox: 2,
2975
2974
  RemoveAlternatePermanently: 3,
2976
- InsertDiscontinuity: 4,
2977
2975
  RetryRequest: 5
2978
2976
  };
2979
2977
  var ErrorActionFlags = {
2980
2978
  None: 0,
2981
2979
  MoveAllAlternatesMatchingHost: 1,
2982
- MoveAllAlternatesMatchingHDCP: 2,
2983
- SwitchToSDR: 4
2984
- };
2980
+ MoveAllAlternatesMatchingHDCP: 2};
2985
2981
  var ErrorController = /*#__PURE__*/function (_Logger) {
2986
2982
  function ErrorController(hls) {
2987
2983
  var _this;
@@ -7282,7 +7278,6 @@
7282
7278
  var KeySystemIds = {
7283
7279
  CENC: "1077efecc0b24d02ace33c1e52e2fb4b",
7284
7280
  CLEARKEY: "e2719d58a985b3c9781ab030af78d30e",
7285
- FAIRPLAY: "94ce86fb07ff4f43adb893d2fa968ca2",
7286
7281
  PLAYREADY: "9a04f07998404286ab92e65be0885f95",
7287
7282
  WIDEVINE: "edef8ba979d64acea3c827dcd51d21ed"
7288
7283
  };
@@ -16335,7 +16330,7 @@
16335
16330
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
16336
16331
  }
16337
16332
 
16338
- var version = "1.6.0-beta.2.0.canary.10928";
16333
+ var version = "1.6.0-beta.2.0.canary.10930";
16339
16334
 
16340
16335
  // ensure the worker ends up in the bundle
16341
16336
  // If the worker should not be included this gets aliased to empty.js
@@ -20039,23 +20034,10 @@
20039
20034
  * init segment
20040
20035
  */
20041
20036
  INIT: 'i',
20042
- /**
20043
- * caption or subtitle
20044
- */
20045
- CAPTION: 'c',
20046
20037
  /**
20047
20038
  * ISOBMFF timed text track
20048
20039
  */
20049
- TIMED_TEXT: 'tt',
20050
- /**
20051
- * cryptographic key, license or certificate.
20052
- */
20053
- KEY: 'k',
20054
- /**
20055
- * other
20056
- */
20057
- OTHER: 'o'
20058
- };
20040
+ TIMED_TEXT: 'tt'};
20059
20041
 
20060
20042
  /**
20061
20043
  * Common Media Client Data Object Type
@@ -20074,23 +20056,10 @@
20074
20056
  * @internal
20075
20057
  */
20076
20058
  var CmStreamingFormat = {
20077
- /**
20078
- * MPEG DASH
20079
- */
20080
- DASH: 'd',
20081
20059
  /**
20082
20060
  * HTTP Live Streaming (HLS)
20083
20061
  */
20084
- HLS: 'h',
20085
- /**
20086
- * Smooth Streaming
20087
- */
20088
- SMOOTH: 's',
20089
- /**
20090
- * Other
20091
- */
20092
- OTHER: 'o'
20093
- };
20062
+ HLS: 'h'};
20094
20063
 
20095
20064
  /**
20096
20065
  * Common Media Client Data Streaming Format
@@ -29180,9 +29149,7 @@
29180
29149
  if (canReuseVttTextTrack(textTrack, {
29181
29150
  name: label,
29182
29151
  lang: language,
29183
- characteristics: 'transcribes-spoken-dialog,describes-music-and-sound',
29184
- attrs: {}
29185
- })) {
29152
+ characteristics: 'transcribes-spoken-dialog,describes-music-and-sound'})) {
29186
29153
  return textTrack;
29187
29154
  }
29188
29155
  }