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.
@@ -330,7 +330,7 @@ function _toPrimitive(t, r) {
330
330
  if ("object" != typeof t || !t) return t;
331
331
  var e = t[Symbol.toPrimitive];
332
332
  if (undefined !== e) {
333
- var i = e.call(t, r || "default");
333
+ var i = e.call(t, r);
334
334
  if ("object" != typeof i) return i;
335
335
  throw new TypeError("@@toPrimitive must return a primitive value.");
336
336
  }
@@ -402,7 +402,7 @@ function enableLogs(debugConfig, context, id) {
402
402
  // Some browsers don't allow to use bind on console object anyway
403
403
  // fallback to default if needed
404
404
  try {
405
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.2.0.canary.10928"}`);
405
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.0-beta.2.0.canary.10930"}`);
406
406
  } catch (e) {
407
407
  /* log fn threw an exception. All logger methods are no-ops. */
408
408
  return createLogger();
@@ -1930,18 +1930,14 @@ function retryForHttpStatus(httpStatus) {
1930
1930
 
1931
1931
  var NetworkErrorAction = {
1932
1932
  DoNothing: 0,
1933
- SendEndCallback: 1,
1934
1933
  SendAlternateToPenaltyBox: 2,
1935
1934
  RemoveAlternatePermanently: 3,
1936
- InsertDiscontinuity: 4,
1937
1935
  RetryRequest: 5
1938
1936
  };
1939
1937
  var ErrorActionFlags = {
1940
1938
  None: 0,
1941
1939
  MoveAllAlternatesMatchingHost: 1,
1942
- MoveAllAlternatesMatchingHDCP: 2,
1943
- SwitchToSDR: 4
1944
- };
1940
+ MoveAllAlternatesMatchingHDCP: 2};
1945
1941
  class ErrorController extends Logger {
1946
1942
  constructor(hls) {
1947
1943
  super('error-controller', hls.logger);
@@ -7525,12 +7521,10 @@ const State = {
7525
7521
  KEY_LOADING: 'KEY_LOADING',
7526
7522
  FRAG_LOADING: 'FRAG_LOADING',
7527
7523
  FRAG_LOADING_WAITING_RETRY: 'FRAG_LOADING_WAITING_RETRY',
7528
- WAITING_TRACK: 'WAITING_TRACK',
7529
7524
  PARSING: 'PARSING',
7530
7525
  PARSED: 'PARSED',
7531
7526
  ENDED: 'ENDED',
7532
7527
  ERROR: 'ERROR',
7533
- WAITING_INIT_PTS: 'WAITING_INIT_PTS',
7534
7528
  WAITING_LEVEL: 'WAITING_LEVEL'
7535
7529
  };
7536
7530
  class BaseStreamController extends TaskLoop {
@@ -19346,7 +19340,7 @@ function assignTrackIdsByGroup(tracks) {
19346
19340
  });
19347
19341
  }
19348
19342
 
19349
- const version = "1.6.0-beta.2.0.canary.10928";
19343
+ const version = "1.6.0-beta.2.0.canary.10930";
19350
19344
 
19351
19345
  // ensure the worker ends up in the bundle
19352
19346
  // If the worker should not be included this gets aliased to empty.js