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.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.10439");
|
497
497
|
} catch (e) {
|
498
498
|
/* log fn threw an exception. All logger methods are no-ops. */
|
499
499
|
return createLogger();
|
@@ -16383,7 +16383,7 @@
|
|
16383
16383
|
case 0xcf:
|
16384
16384
|
// SAMPLE-AES AAC
|
16385
16385
|
if (!isSampleAes) {
|
16386
|
-
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC',
|
16386
|
+
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC', logger);
|
16387
16387
|
break;
|
16388
16388
|
}
|
16389
16389
|
/* falls through */
|
@@ -16405,7 +16405,7 @@
|
|
16405
16405
|
case 0xdb:
|
16406
16406
|
// SAMPLE-AES AVC
|
16407
16407
|
if (!isSampleAes) {
|
16408
|
-
logEncryptedSamplesFoundInUnencryptedStream('H.264',
|
16408
|
+
logEncryptedSamplesFoundInUnencryptedStream('H.264', logger);
|
16409
16409
|
break;
|
16410
16410
|
}
|
16411
16411
|
/* falls through */
|
@@ -16433,7 +16433,7 @@
|
|
16433
16433
|
case 0xc1:
|
16434
16434
|
// SAMPLE-AES AC3
|
16435
16435
|
if (!isSampleAes) {
|
16436
|
-
logEncryptedSamplesFoundInUnencryptedStream('AC-3',
|
16436
|
+
logEncryptedSamplesFoundInUnencryptedStream('AC-3', logger);
|
16437
16437
|
break;
|
16438
16438
|
}
|
16439
16439
|
/* falls through */
|
@@ -16469,12 +16469,12 @@
|
|
16469
16469
|
case 0xc2: // SAMPLE-AES EC3
|
16470
16470
|
/* falls through */
|
16471
16471
|
case 0x87:
|
16472
|
-
emitParsingError(observer, new Error('Unsupported EC-3 in M2TS found'), undefined,
|
16472
|
+
emitParsingError(observer, new Error('Unsupported EC-3 in M2TS found'), undefined, logger);
|
16473
16473
|
return result;
|
16474
16474
|
case 0x24:
|
16475
16475
|
// ITU-T Rec. H.265 and ISO/IEC 23008-2 (HEVC)
|
16476
16476
|
{
|
16477
|
-
emitParsingError(observer, new Error('Unsupported HEVC in M2TS found'), undefined,
|
16477
|
+
emitParsingError(observer, new Error('Unsupported HEVC in M2TS found'), undefined, logger);
|
16478
16478
|
return result;
|
16479
16479
|
}
|
16480
16480
|
}
|
@@ -18491,7 +18491,6 @@
|
|
18491
18491
|
this.observer = void 0;
|
18492
18492
|
this.typeSupported = void 0;
|
18493
18493
|
this.config = void 0;
|
18494
|
-
this.vendor = void 0;
|
18495
18494
|
this.id = void 0;
|
18496
18495
|
this.demuxer = void 0;
|
18497
18496
|
this.remuxer = void 0;
|
@@ -18503,7 +18502,6 @@
|
|
18503
18502
|
this.observer = observer;
|
18504
18503
|
this.typeSupported = typeSupported;
|
18505
18504
|
this.config = config;
|
18506
|
-
this.vendor = vendor;
|
18507
18505
|
this.id = id;
|
18508
18506
|
this.logger = logger;
|
18509
18507
|
}
|
@@ -18746,7 +18744,6 @@
|
|
18746
18744
|
var config = this.config,
|
18747
18745
|
observer = this.observer,
|
18748
18746
|
typeSupported = this.typeSupported;
|
18749
|
-
this.vendor;
|
18750
18747
|
// probe for content type
|
18751
18748
|
var mux;
|
18752
18749
|
for (var i = 0, len = muxConfig.length; i < len; i++) {
|
@@ -19335,7 +19332,7 @@
|
|
19335
19332
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
19336
19333
|
}
|
19337
19334
|
|
19338
|
-
var version = "1.5.14-0.canary.
|
19335
|
+
var version = "1.5.14-0.canary.10439";
|
19339
19336
|
|
19340
19337
|
// ensure the worker ends up in the bundle
|
19341
19338
|
// If the worker should not be included this gets aliased to empty.js
|