hls.js 1.6.0-beta.3.0.canary.10976 → 1.6.0-beta.3.0.canary.10978

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.light.js CHANGED
@@ -1030,7 +1030,7 @@
1030
1030
  // Some browsers don't allow to use bind on console object anyway
1031
1031
  // fallback to default if needed
1032
1032
  try {
1033
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.3.0.canary.10976");
1033
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.3.0.canary.10978");
1034
1034
  } catch (e) {
1035
1035
  /* log fn threw an exception. All logger methods are no-ops. */
1036
1036
  return createLogger();
@@ -9365,6 +9365,21 @@
9365
9365
  };
9366
9366
  }
9367
9367
 
9368
+ function toArrayBuffer(view) {
9369
+ if (view instanceof ArrayBuffer) {
9370
+ return view;
9371
+ } else {
9372
+ if (view.byteOffset == 0 && view.byteLength == view.buffer.byteLength) {
9373
+ // This is a TypedArray over the whole buffer.
9374
+ return view.buffer;
9375
+ }
9376
+ // This is a 'view' on the buffer. Create a new buffer that only contains
9377
+ // the data. Note that since this isn't an ArrayBuffer, the 'new' call
9378
+ // will allocate a new buffer to hold the copy.
9379
+ return new Uint8Array(view).buffer;
9380
+ }
9381
+ }
9382
+
9368
9383
  function toUint8(data, offset, length) {
9369
9384
  if (offset === void 0) {
9370
9385
  offset = 0;
@@ -9401,21 +9416,6 @@
9401
9416
  return obj && obj.buffer instanceof ArrayBuffer && obj.byteLength !== undefined && obj.byteOffset !== undefined;
9402
9417
  }
9403
9418
 
9404
- function toArrayBuffer(view) {
9405
- if (view instanceof ArrayBuffer) {
9406
- return view;
9407
- } else {
9408
- if (view.byteOffset == 0 && view.byteLength == view.buffer.byteLength) {
9409
- // This is a TypedArray over the whole buffer.
9410
- return view.buffer;
9411
- }
9412
- // This is a 'view' on the buffer. Create a new buffer that only contains
9413
- // the data. Note that since this isn't an ArrayBuffer, the 'new' call
9414
- // will allocate a new buffer to hold the copy.
9415
- return new Uint8Array(view).buffer;
9416
- }
9417
- }
9418
-
9419
9419
  function decodeId3ImageFrame(frame) {
9420
9420
  var metadataFrame = {
9421
9421
  key: frame.type,
@@ -20001,7 +20001,7 @@
20001
20001
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
20002
20002
  }
20003
20003
 
20004
- var version = "1.6.0-beta.3.0.canary.10976";
20004
+ var version = "1.6.0-beta.3.0.canary.10978";
20005
20005
 
20006
20006
  // ensure the worker ends up in the bundle
20007
20007
  // If the worker should not be included this gets aliased to empty.js