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.light.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();
|
@@ -13861,7 +13861,7 @@ function changeTypeSupported() {
|
|
13861
13861
|
return typeof (sourceBuffer == null ? void 0 : (_sourceBuffer$prototy = sourceBuffer.prototype) == null ? void 0 : _sourceBuffer$prototy.changeType) === 'function';
|
13862
13862
|
}
|
13863
13863
|
|
13864
|
-
const version = "1.5.14-0.canary.
|
13864
|
+
const version = "1.5.14-0.canary.10439";
|
13865
13865
|
|
13866
13866
|
// ensure the worker ends up in the bundle
|
13867
13867
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -16083,7 +16083,7 @@ function parsePMT(data, offset, typeSupported, isSampleAes, observer, logger) {
|
|
16083
16083
|
case 0xcf:
|
16084
16084
|
// SAMPLE-AES AAC
|
16085
16085
|
if (!isSampleAes) {
|
16086
|
-
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC',
|
16086
|
+
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC', logger);
|
16087
16087
|
break;
|
16088
16088
|
}
|
16089
16089
|
/* falls through */
|
@@ -16105,7 +16105,7 @@ function parsePMT(data, offset, typeSupported, isSampleAes, observer, logger) {
|
|
16105
16105
|
case 0xdb:
|
16106
16106
|
// SAMPLE-AES AVC
|
16107
16107
|
if (!isSampleAes) {
|
16108
|
-
logEncryptedSamplesFoundInUnencryptedStream('H.264',
|
16108
|
+
logEncryptedSamplesFoundInUnencryptedStream('H.264', logger);
|
16109
16109
|
break;
|
16110
16110
|
}
|
16111
16111
|
/* falls through */
|
@@ -16133,7 +16133,7 @@ function parsePMT(data, offset, typeSupported, isSampleAes, observer, logger) {
|
|
16133
16133
|
case 0xc1:
|
16134
16134
|
// SAMPLE-AES AC3
|
16135
16135
|
if (!isSampleAes) {
|
16136
|
-
logEncryptedSamplesFoundInUnencryptedStream('AC-3',
|
16136
|
+
logEncryptedSamplesFoundInUnencryptedStream('AC-3', logger);
|
16137
16137
|
break;
|
16138
16138
|
}
|
16139
16139
|
/* falls through */
|
@@ -16169,12 +16169,12 @@ function parsePMT(data, offset, typeSupported, isSampleAes, observer, logger) {
|
|
16169
16169
|
case 0xc2: // SAMPLE-AES EC3
|
16170
16170
|
/* falls through */
|
16171
16171
|
case 0x87:
|
16172
|
-
emitParsingError(observer, new Error('Unsupported EC-3 in M2TS found'), undefined,
|
16172
|
+
emitParsingError(observer, new Error('Unsupported EC-3 in M2TS found'), undefined, logger);
|
16173
16173
|
return result;
|
16174
16174
|
case 0x24:
|
16175
16175
|
// ITU-T Rec. H.265 and ISO/IEC 23008-2 (HEVC)
|
16176
16176
|
{
|
16177
|
-
emitParsingError(observer, new Error('Unsupported HEVC in M2TS found'), undefined,
|
16177
|
+
emitParsingError(observer, new Error('Unsupported HEVC in M2TS found'), undefined, logger);
|
16178
16178
|
return result;
|
16179
16179
|
}
|
16180
16180
|
}
|
@@ -18177,7 +18177,6 @@ class Transmuxer {
|
|
18177
18177
|
this.observer = void 0;
|
18178
18178
|
this.typeSupported = void 0;
|
18179
18179
|
this.config = void 0;
|
18180
|
-
this.vendor = void 0;
|
18181
18180
|
this.id = void 0;
|
18182
18181
|
this.demuxer = void 0;
|
18183
18182
|
this.remuxer = void 0;
|
@@ -18189,7 +18188,6 @@ class Transmuxer {
|
|
18189
18188
|
this.observer = observer;
|
18190
18189
|
this.typeSupported = typeSupported;
|
18191
18190
|
this.config = config;
|
18192
|
-
this.vendor = vendor;
|
18193
18191
|
this.id = id;
|
18194
18192
|
this.logger = logger;
|
18195
18193
|
}
|
@@ -18448,8 +18446,7 @@ class Transmuxer {
|
|
18448
18446
|
const {
|
18449
18447
|
config,
|
18450
18448
|
observer,
|
18451
|
-
typeSupported
|
18452
|
-
vendor
|
18449
|
+
typeSupported
|
18453
18450
|
} = this;
|
18454
18451
|
// probe for content type
|
18455
18452
|
let mux;
|