hls.js 1.5.14-0.canary.10436 → 1.5.14-0.canary.10439
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 +6 -9
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +7 -10
- package/dist/hls.light.js.map +1 -1
- package/dist/hls.light.min.js +1 -1
- package/dist/hls.light.min.js.map +1 -1
- package/dist/hls.light.mjs +8 -11
- package/dist/hls.light.mjs.map +1 -1
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +7 -10
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/dist/hls.worker.js.map +1 -1
- package/package.json +3 -3
- package/src/demux/transmuxer.ts +1 -3
- package/src/demux/tsdemuxer.ts +5 -5
package/dist/hls.mjs
CHANGED
@@ -420,7 +420,7 @@ function enableLogs(debugConfig, context, id) {
|
|
420
420
|
// Some browsers don't allow to use bind on console object anyway
|
421
421
|
// fallback to default if needed
|
422
422
|
try {
|
423
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.
|
423
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.10439"}`);
|
424
424
|
} catch (e) {
|
425
425
|
/* log fn threw an exception. All logger methods are no-ops. */
|
426
426
|
return createLogger();
|
@@ -11029,7 +11029,7 @@ function concatUint8Arrays(chunks, dataLength) {
|
|
11029
11029
|
return result;
|
11030
11030
|
}
|
11031
11031
|
|
11032
|
-
const version = "1.5.14-0.canary.
|
11032
|
+
const version = "1.5.14-0.canary.10439";
|
11033
11033
|
|
11034
11034
|
// ensure the worker ends up in the bundle
|
11035
11035
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -13992,7 +13992,7 @@ function parsePMT(data, offset, typeSupported, isSampleAes, observer, logger) {
|
|
13992
13992
|
case 0xcf:
|
13993
13993
|
// SAMPLE-AES AAC
|
13994
13994
|
if (!isSampleAes) {
|
13995
|
-
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC',
|
13995
|
+
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC', logger);
|
13996
13996
|
break;
|
13997
13997
|
}
|
13998
13998
|
/* falls through */
|
@@ -14014,7 +14014,7 @@ function parsePMT(data, offset, typeSupported, isSampleAes, observer, logger) {
|
|
14014
14014
|
case 0xdb:
|
14015
14015
|
// SAMPLE-AES AVC
|
14016
14016
|
if (!isSampleAes) {
|
14017
|
-
logEncryptedSamplesFoundInUnencryptedStream('H.264',
|
14017
|
+
logEncryptedSamplesFoundInUnencryptedStream('H.264', logger);
|
14018
14018
|
break;
|
14019
14019
|
}
|
14020
14020
|
/* falls through */
|
@@ -14042,7 +14042,7 @@ function parsePMT(data, offset, typeSupported, isSampleAes, observer, logger) {
|
|
14042
14042
|
case 0xc1:
|
14043
14043
|
// SAMPLE-AES AC3
|
14044
14044
|
if (!isSampleAes) {
|
14045
|
-
logEncryptedSamplesFoundInUnencryptedStream('AC-3',
|
14045
|
+
logEncryptedSamplesFoundInUnencryptedStream('AC-3', logger);
|
14046
14046
|
break;
|
14047
14047
|
}
|
14048
14048
|
/* falls through */
|
@@ -14088,7 +14088,7 @@ function parsePMT(data, offset, typeSupported, isSampleAes, observer, logger) {
|
|
14088
14088
|
case 0xc2: // SAMPLE-AES EC3
|
14089
14089
|
/* falls through */
|
14090
14090
|
case 0x87:
|
14091
|
-
emitParsingError(observer, new Error('Unsupported EC-3 in M2TS found'), undefined,
|
14091
|
+
emitParsingError(observer, new Error('Unsupported EC-3 in M2TS found'), undefined, logger);
|
14092
14092
|
return result;
|
14093
14093
|
case 0x24:
|
14094
14094
|
// ITU-T Rec. H.265 and ISO/IEC 23008-2 (HEVC)
|
@@ -16112,7 +16112,6 @@ class Transmuxer {
|
|
16112
16112
|
this.observer = void 0;
|
16113
16113
|
this.typeSupported = void 0;
|
16114
16114
|
this.config = void 0;
|
16115
|
-
this.vendor = void 0;
|
16116
16115
|
this.id = void 0;
|
16117
16116
|
this.demuxer = void 0;
|
16118
16117
|
this.remuxer = void 0;
|
@@ -16124,7 +16123,6 @@ class Transmuxer {
|
|
16124
16123
|
this.observer = observer;
|
16125
16124
|
this.typeSupported = typeSupported;
|
16126
16125
|
this.config = config;
|
16127
|
-
this.vendor = vendor;
|
16128
16126
|
this.id = id;
|
16129
16127
|
this.logger = logger;
|
16130
16128
|
}
|
@@ -16383,8 +16381,7 @@ class Transmuxer {
|
|
16383
16381
|
const {
|
16384
16382
|
config,
|
16385
16383
|
observer,
|
16386
|
-
typeSupported
|
16387
|
-
vendor
|
16384
|
+
typeSupported
|
16388
16385
|
} = this;
|
16389
16386
|
// probe for content type
|
16390
16387
|
let mux;
|