hls.js 1.6.0-beta.1.0.canary.10775 → 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.
@@ -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.10775"}`);
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();
@@ -1924,14 +1924,18 @@ function retryForHttpStatus(httpStatus) {
1924
1924
 
1925
1925
  var NetworkErrorAction = {
1926
1926
  DoNothing: 0,
1927
+ SendEndCallback: 1,
1927
1928
  SendAlternateToPenaltyBox: 2,
1928
1929
  RemoveAlternatePermanently: 3,
1930
+ InsertDiscontinuity: 4,
1929
1931
  RetryRequest: 5
1930
1932
  };
1931
1933
  var ErrorActionFlags = {
1932
1934
  None: 0,
1933
1935
  MoveAllAlternatesMatchingHost: 1,
1934
- MoveAllAlternatesMatchingHDCP: 2}; // Reserved for future use
1936
+ MoveAllAlternatesMatchingHDCP: 2,
1937
+ SwitchToSDR: 4
1938
+ }; // Reserved for future use
1935
1939
  class ErrorController extends Logger {
1936
1940
  constructor(hls) {
1937
1941
  super('error-controller', hls.logger);
@@ -7472,10 +7476,12 @@ const State = {
7472
7476
  KEY_LOADING: 'KEY_LOADING',
7473
7477
  FRAG_LOADING: 'FRAG_LOADING',
7474
7478
  FRAG_LOADING_WAITING_RETRY: 'FRAG_LOADING_WAITING_RETRY',
7479
+ WAITING_TRACK: 'WAITING_TRACK',
7475
7480
  PARSING: 'PARSING',
7476
7481
  PARSED: 'PARSED',
7477
7482
  ENDED: 'ENDED',
7478
7483
  ERROR: 'ERROR',
7484
+ WAITING_INIT_PTS: 'WAITING_INIT_PTS',
7479
7485
  WAITING_LEVEL: 'WAITING_LEVEL'
7480
7486
  };
7481
7487
  class BaseStreamController extends TaskLoop {
@@ -19111,7 +19117,7 @@ class GapController extends Logger {
19111
19117
  }
19112
19118
  }
19113
19119
 
19114
- const version = "1.6.0-beta.1.0.canary.10775";
19120
+ const version = "1.6.0-beta.1.0.canary.10777";
19115
19121
 
19116
19122
  // ensure the worker ends up in the bundle
19117
19123
  // If the worker should not be included this gets aliased to empty.js