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/package.json
CHANGED
@@ -84,8 +84,8 @@
|
|
84
84
|
"@types/chart.js": "2.9.41",
|
85
85
|
"@types/mocha": "10.0.7",
|
86
86
|
"@types/sinon-chai": "3.2.12",
|
87
|
-
"@typescript-eslint/eslint-plugin": "7.16.
|
88
|
-
"@typescript-eslint/parser": "7.16.
|
87
|
+
"@typescript-eslint/eslint-plugin": "7.16.1",
|
88
|
+
"@typescript-eslint/parser": "7.16.1",
|
89
89
|
"babel-loader": "9.1.3",
|
90
90
|
"babel-plugin-transform-remove-console": "6.9.4",
|
91
91
|
"chai": "4.4.1",
|
@@ -130,5 +130,5 @@
|
|
130
130
|
"url-toolkit": "2.2.5",
|
131
131
|
"wrangler": "3.63.2"
|
132
132
|
},
|
133
|
-
"version": "1.5.14-0.canary.
|
133
|
+
"version": "1.5.14-0.canary.10439"
|
134
134
|
}
|
package/src/demux/transmuxer.ts
CHANGED
@@ -55,7 +55,6 @@ export default class Transmuxer {
|
|
55
55
|
private observer: HlsEventEmitter;
|
56
56
|
private typeSupported: TypeSupported;
|
57
57
|
private config: HlsConfig;
|
58
|
-
private vendor: string;
|
59
58
|
private id: PlaylistLevelType;
|
60
59
|
private demuxer?: Demuxer;
|
61
60
|
private remuxer?: Remuxer;
|
@@ -76,7 +75,6 @@ export default class Transmuxer {
|
|
76
75
|
this.observer = observer;
|
77
76
|
this.typeSupported = typeSupported;
|
78
77
|
this.config = config;
|
79
|
-
this.vendor = vendor;
|
80
78
|
this.id = id;
|
81
79
|
this.logger = logger;
|
82
80
|
}
|
@@ -447,7 +445,7 @@ export default class Transmuxer {
|
|
447
445
|
}
|
448
446
|
|
449
447
|
private configureTransmuxer(data: Uint8Array): void | Error {
|
450
|
-
const { config, observer, typeSupported
|
448
|
+
const { config, observer, typeSupported } = this;
|
451
449
|
// probe for content type
|
452
450
|
let mux;
|
453
451
|
for (let i = 0, len = muxConfig.length; i < len; i++) {
|
package/src/demux/tsdemuxer.ts
CHANGED
@@ -791,7 +791,7 @@ function parsePMT(
|
|
791
791
|
switch (data[offset]) {
|
792
792
|
case 0xcf: // SAMPLE-AES AAC
|
793
793
|
if (!isSampleAes) {
|
794
|
-
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC',
|
794
|
+
logEncryptedSamplesFoundInUnencryptedStream('ADTS AAC', logger);
|
795
795
|
break;
|
796
796
|
}
|
797
797
|
/* falls through */
|
@@ -814,7 +814,7 @@ function parsePMT(
|
|
814
814
|
|
815
815
|
case 0xdb: // SAMPLE-AES AVC
|
816
816
|
if (!isSampleAes) {
|
817
|
-
logEncryptedSamplesFoundInUnencryptedStream('H.264',
|
817
|
+
logEncryptedSamplesFoundInUnencryptedStream('H.264', logger);
|
818
818
|
break;
|
819
819
|
}
|
820
820
|
/* falls through */
|
@@ -842,7 +842,7 @@ function parsePMT(
|
|
842
842
|
|
843
843
|
case 0xc1: // SAMPLE-AES AC3
|
844
844
|
if (!isSampleAes) {
|
845
|
-
logEncryptedSamplesFoundInUnencryptedStream('AC-3',
|
845
|
+
logEncryptedSamplesFoundInUnencryptedStream('AC-3', logger);
|
846
846
|
break;
|
847
847
|
}
|
848
848
|
/* falls through */
|
@@ -902,7 +902,7 @@ function parsePMT(
|
|
902
902
|
observer,
|
903
903
|
new Error('Unsupported EC-3 in M2TS found'),
|
904
904
|
undefined,
|
905
|
-
|
905
|
+
logger,
|
906
906
|
);
|
907
907
|
return result;
|
908
908
|
|
@@ -918,7 +918,7 @@ function parsePMT(
|
|
918
918
|
observer,
|
919
919
|
new Error('Unsupported HEVC in M2TS found'),
|
920
920
|
undefined,
|
921
|
-
|
921
|
+
logger,
|
922
922
|
);
|
923
923
|
return result;
|
924
924
|
}
|