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.js
CHANGED
@@ -522,7 +522,7 @@
|
|
522
522
|
// Some browsers don't allow to use bind on console object anyway
|
523
523
|
// fallback to default if needed
|
524
524
|
try {
|
525
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.
|
525
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.10439");
|
526
526
|
} catch (e) {
|
527
527
|
/* log fn threw an exception. All logger methods are no-ops. */
|
528
528
|
return createLogger();
|
@@ -14326,7 +14326,7 @@
|
|
14326
14326
|
case 0xcf:
|
14327
14327
|
// SAMPLE-AES AAC
|
14328
14328
|
if (!isSampleAes) {
|
14329
|
-
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC',
|
14329
|
+
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC', logger);
|
14330
14330
|
break;
|
14331
14331
|
}
|
14332
14332
|
/* falls through */
|
@@ -14348,7 +14348,7 @@
|
|
14348
14348
|
case 0xdb:
|
14349
14349
|
// SAMPLE-AES AVC
|
14350
14350
|
if (!isSampleAes) {
|
14351
|
-
logEncryptedSamplesFoundInUnencryptedStream('H.264',
|
14351
|
+
logEncryptedSamplesFoundInUnencryptedStream('H.264', logger);
|
14352
14352
|
break;
|
14353
14353
|
}
|
14354
14354
|
/* falls through */
|
@@ -14376,7 +14376,7 @@
|
|
14376
14376
|
case 0xc1:
|
14377
14377
|
// SAMPLE-AES AC3
|
14378
14378
|
if (!isSampleAes) {
|
14379
|
-
logEncryptedSamplesFoundInUnencryptedStream('AC-3',
|
14379
|
+
logEncryptedSamplesFoundInUnencryptedStream('AC-3', logger);
|
14380
14380
|
break;
|
14381
14381
|
}
|
14382
14382
|
/* falls through */
|
@@ -14422,7 +14422,7 @@
|
|
14422
14422
|
case 0xc2: // SAMPLE-AES EC3
|
14423
14423
|
/* falls through */
|
14424
14424
|
case 0x87:
|
14425
|
-
emitParsingError(observer, new Error('Unsupported EC-3 in M2TS found'), undefined,
|
14425
|
+
emitParsingError(observer, new Error('Unsupported EC-3 in M2TS found'), undefined, logger);
|
14426
14426
|
return result;
|
14427
14427
|
case 0x24:
|
14428
14428
|
// ITU-T Rec. H.265 and ISO/IEC 23008-2 (HEVC)
|
@@ -16472,7 +16472,6 @@
|
|
16472
16472
|
this.observer = void 0;
|
16473
16473
|
this.typeSupported = void 0;
|
16474
16474
|
this.config = void 0;
|
16475
|
-
this.vendor = void 0;
|
16476
16475
|
this.id = void 0;
|
16477
16476
|
this.demuxer = void 0;
|
16478
16477
|
this.remuxer = void 0;
|
@@ -16484,7 +16483,6 @@
|
|
16484
16483
|
this.observer = observer;
|
16485
16484
|
this.typeSupported = typeSupported;
|
16486
16485
|
this.config = config;
|
16487
|
-
this.vendor = vendor;
|
16488
16486
|
this.id = id;
|
16489
16487
|
this.logger = logger;
|
16490
16488
|
}
|
@@ -16727,7 +16725,6 @@
|
|
16727
16725
|
var config = this.config,
|
16728
16726
|
observer = this.observer,
|
16729
16727
|
typeSupported = this.typeSupported;
|
16730
|
-
this.vendor;
|
16731
16728
|
// probe for content type
|
16732
16729
|
var mux;
|
16733
16730
|
for (var i = 0, len = muxConfig.length; i < len; i++) {
|
@@ -17316,7 +17313,7 @@
|
|
17316
17313
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
17317
17314
|
}
|
17318
17315
|
|
17319
|
-
var version = "1.5.14-0.canary.
|
17316
|
+
var version = "1.5.14-0.canary.10439";
|
17320
17317
|
|
17321
17318
|
// ensure the worker ends up in the bundle
|
17322
17319
|
// If the worker should not be included this gets aliased to empty.js
|