hls.js 1.5.14-0.canary.10438 → 1.5.14-0.canary.10440
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 +10 -10
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +11 -11
- 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 +12 -12
- 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 +11 -11
- 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 +1 -1
- package/src/controller/base-stream-controller.ts +4 -1
- 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.10440");
|
526
526
|
} catch (e) {
|
527
527
|
/* log fn threw an exception. All logger methods are no-ops. */
|
528
528
|
return createLogger();
|
@@ -11313,7 +11313,10 @@
|
|
11313
11313
|
_proto.recoverWorkerError = function recoverWorkerError(data) {
|
11314
11314
|
if (data.event === 'demuxerWorker') {
|
11315
11315
|
this.fragmentTracker.removeAllFragments();
|
11316
|
-
this.
|
11316
|
+
if (this.transmuxer) {
|
11317
|
+
this.transmuxer.destroy();
|
11318
|
+
this.transmuxer = null;
|
11319
|
+
}
|
11317
11320
|
this.resetStartWhenNotLoaded(this.levelLastLoaded);
|
11318
11321
|
this.resetLoadingState();
|
11319
11322
|
}
|
@@ -14326,7 +14329,7 @@
|
|
14326
14329
|
case 0xcf:
|
14327
14330
|
// SAMPLE-AES AAC
|
14328
14331
|
if (!isSampleAes) {
|
14329
|
-
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC',
|
14332
|
+
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC', logger);
|
14330
14333
|
break;
|
14331
14334
|
}
|
14332
14335
|
/* falls through */
|
@@ -14348,7 +14351,7 @@
|
|
14348
14351
|
case 0xdb:
|
14349
14352
|
// SAMPLE-AES AVC
|
14350
14353
|
if (!isSampleAes) {
|
14351
|
-
logEncryptedSamplesFoundInUnencryptedStream('H.264',
|
14354
|
+
logEncryptedSamplesFoundInUnencryptedStream('H.264', logger);
|
14352
14355
|
break;
|
14353
14356
|
}
|
14354
14357
|
/* falls through */
|
@@ -14376,7 +14379,7 @@
|
|
14376
14379
|
case 0xc1:
|
14377
14380
|
// SAMPLE-AES AC3
|
14378
14381
|
if (!isSampleAes) {
|
14379
|
-
logEncryptedSamplesFoundInUnencryptedStream('AC-3',
|
14382
|
+
logEncryptedSamplesFoundInUnencryptedStream('AC-3', logger);
|
14380
14383
|
break;
|
14381
14384
|
}
|
14382
14385
|
/* falls through */
|
@@ -14422,7 +14425,7 @@
|
|
14422
14425
|
case 0xc2: // SAMPLE-AES EC3
|
14423
14426
|
/* falls through */
|
14424
14427
|
case 0x87:
|
14425
|
-
emitParsingError(observer, new Error('Unsupported EC-3 in M2TS found'), undefined,
|
14428
|
+
emitParsingError(observer, new Error('Unsupported EC-3 in M2TS found'), undefined, logger);
|
14426
14429
|
return result;
|
14427
14430
|
case 0x24:
|
14428
14431
|
// ITU-T Rec. H.265 and ISO/IEC 23008-2 (HEVC)
|
@@ -16472,7 +16475,6 @@
|
|
16472
16475
|
this.observer = void 0;
|
16473
16476
|
this.typeSupported = void 0;
|
16474
16477
|
this.config = void 0;
|
16475
|
-
this.vendor = void 0;
|
16476
16478
|
this.id = void 0;
|
16477
16479
|
this.demuxer = void 0;
|
16478
16480
|
this.remuxer = void 0;
|
@@ -16484,7 +16486,6 @@
|
|
16484
16486
|
this.observer = observer;
|
16485
16487
|
this.typeSupported = typeSupported;
|
16486
16488
|
this.config = config;
|
16487
|
-
this.vendor = vendor;
|
16488
16489
|
this.id = id;
|
16489
16490
|
this.logger = logger;
|
16490
16491
|
}
|
@@ -16727,7 +16728,6 @@
|
|
16727
16728
|
var config = this.config,
|
16728
16729
|
observer = this.observer,
|
16729
16730
|
typeSupported = this.typeSupported;
|
16730
|
-
this.vendor;
|
16731
16731
|
// probe for content type
|
16732
16732
|
var mux;
|
16733
16733
|
for (var i = 0, len = muxConfig.length; i < len; i++) {
|
@@ -17316,7 +17316,7 @@
|
|
17316
17316
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
17317
17317
|
}
|
17318
17318
|
|
17319
|
-
var version = "1.5.14-0.canary.
|
17319
|
+
var version = "1.5.14-0.canary.10440";
|
17320
17320
|
|
17321
17321
|
// ensure the worker ends up in the bundle
|
17322
17322
|
// If the worker should not be included this gets aliased to empty.js
|