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.light.js
CHANGED
@@ -493,7 +493,7 @@
|
|
493
493
|
// Some browsers don't allow to use bind on console object anyway
|
494
494
|
// fallback to default if needed
|
495
495
|
try {
|
496
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.
|
496
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.10440");
|
497
497
|
} catch (e) {
|
498
498
|
/* log fn threw an exception. All logger methods are no-ops. */
|
499
499
|
return createLogger();
|
@@ -14135,7 +14135,10 @@
|
|
14135
14135
|
_proto.recoverWorkerError = function recoverWorkerError(data) {
|
14136
14136
|
if (data.event === 'demuxerWorker') {
|
14137
14137
|
this.fragmentTracker.removeAllFragments();
|
14138
|
-
this.
|
14138
|
+
if (this.transmuxer) {
|
14139
|
+
this.transmuxer.destroy();
|
14140
|
+
this.transmuxer = null;
|
14141
|
+
}
|
14139
14142
|
this.resetStartWhenNotLoaded(this.levelLastLoaded);
|
14140
14143
|
this.resetLoadingState();
|
14141
14144
|
}
|
@@ -16383,7 +16386,7 @@
|
|
16383
16386
|
case 0xcf:
|
16384
16387
|
// SAMPLE-AES AAC
|
16385
16388
|
if (!isSampleAes) {
|
16386
|
-
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC',
|
16389
|
+
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC', logger);
|
16387
16390
|
break;
|
16388
16391
|
}
|
16389
16392
|
/* falls through */
|
@@ -16405,7 +16408,7 @@
|
|
16405
16408
|
case 0xdb:
|
16406
16409
|
// SAMPLE-AES AVC
|
16407
16410
|
if (!isSampleAes) {
|
16408
|
-
logEncryptedSamplesFoundInUnencryptedStream('H.264',
|
16411
|
+
logEncryptedSamplesFoundInUnencryptedStream('H.264', logger);
|
16409
16412
|
break;
|
16410
16413
|
}
|
16411
16414
|
/* falls through */
|
@@ -16433,7 +16436,7 @@
|
|
16433
16436
|
case 0xc1:
|
16434
16437
|
// SAMPLE-AES AC3
|
16435
16438
|
if (!isSampleAes) {
|
16436
|
-
logEncryptedSamplesFoundInUnencryptedStream('AC-3',
|
16439
|
+
logEncryptedSamplesFoundInUnencryptedStream('AC-3', logger);
|
16437
16440
|
break;
|
16438
16441
|
}
|
16439
16442
|
/* falls through */
|
@@ -16469,12 +16472,12 @@
|
|
16469
16472
|
case 0xc2: // SAMPLE-AES EC3
|
16470
16473
|
/* falls through */
|
16471
16474
|
case 0x87:
|
16472
|
-
emitParsingError(observer, new Error('Unsupported EC-3 in M2TS found'), undefined,
|
16475
|
+
emitParsingError(observer, new Error('Unsupported EC-3 in M2TS found'), undefined, logger);
|
16473
16476
|
return result;
|
16474
16477
|
case 0x24:
|
16475
16478
|
// ITU-T Rec. H.265 and ISO/IEC 23008-2 (HEVC)
|
16476
16479
|
{
|
16477
|
-
emitParsingError(observer, new Error('Unsupported HEVC in M2TS found'), undefined,
|
16480
|
+
emitParsingError(observer, new Error('Unsupported HEVC in M2TS found'), undefined, logger);
|
16478
16481
|
return result;
|
16479
16482
|
}
|
16480
16483
|
}
|
@@ -18491,7 +18494,6 @@
|
|
18491
18494
|
this.observer = void 0;
|
18492
18495
|
this.typeSupported = void 0;
|
18493
18496
|
this.config = void 0;
|
18494
|
-
this.vendor = void 0;
|
18495
18497
|
this.id = void 0;
|
18496
18498
|
this.demuxer = void 0;
|
18497
18499
|
this.remuxer = void 0;
|
@@ -18503,7 +18505,6 @@
|
|
18503
18505
|
this.observer = observer;
|
18504
18506
|
this.typeSupported = typeSupported;
|
18505
18507
|
this.config = config;
|
18506
|
-
this.vendor = vendor;
|
18507
18508
|
this.id = id;
|
18508
18509
|
this.logger = logger;
|
18509
18510
|
}
|
@@ -18746,7 +18747,6 @@
|
|
18746
18747
|
var config = this.config,
|
18747
18748
|
observer = this.observer,
|
18748
18749
|
typeSupported = this.typeSupported;
|
18749
|
-
this.vendor;
|
18750
18750
|
// probe for content type
|
18751
18751
|
var mux;
|
18752
18752
|
for (var i = 0, len = muxConfig.length; i < len; i++) {
|
@@ -19335,7 +19335,7 @@
|
|
19335
19335
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
19336
19336
|
}
|
19337
19337
|
|
19338
|
-
var version = "1.5.14-0.canary.
|
19338
|
+
var version = "1.5.14-0.canary.10440";
|
19339
19339
|
|
19340
19340
|
// ensure the worker ends up in the bundle
|
19341
19341
|
// If the worker should not be included this gets aliased to empty.js
|