hls.js 1.6.1-0.canary.11110 → 1.6.1-0.canary.11111
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 +9 -2
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +2 -2
- package/dist/hls.light.min.js +1 -1
- package/dist/hls.light.mjs +2 -2
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +9 -2
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +1 -1
- package/src/controller/eme-controller.ts +7 -0
package/dist/hls.js
CHANGED
@@ -1194,7 +1194,7 @@
|
|
1194
1194
|
// Some browsers don't allow to use bind on console object anyway
|
1195
1195
|
// fallback to default if needed
|
1196
1196
|
try {
|
1197
|
-
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.1-0.canary.
|
1197
|
+
newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.1-0.canary.11111");
|
1198
1198
|
} catch (e) {
|
1199
1199
|
/* log fn threw an exception. All logger methods are no-ops. */
|
1200
1200
|
return createLogger();
|
@@ -16721,7 +16721,7 @@
|
|
16721
16721
|
return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
|
16722
16722
|
}
|
16723
16723
|
|
16724
|
-
var version = "1.6.1-0.canary.
|
16724
|
+
var version = "1.6.1-0.canary.11111";
|
16725
16725
|
|
16726
16726
|
// ensure the worker ends up in the bundle
|
16727
16727
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -22810,6 +22810,13 @@
|
|
22810
22810
|
_proto.onKeyStatusChange = function onKeyStatusChange(mediaKeySessionContext) {
|
22811
22811
|
var _this9 = this;
|
22812
22812
|
mediaKeySessionContext.mediaKeysSession.keyStatuses.forEach(function (status, keyId) {
|
22813
|
+
// keyStatuses.forEach is not standard API so the callback value looks weird on xboxone
|
22814
|
+
// xboxone callback(keyId, status) so we need to exchange them
|
22815
|
+
if (typeof keyId === 'string' && typeof status === 'object') {
|
22816
|
+
var temp = keyId;
|
22817
|
+
keyId = status;
|
22818
|
+
status = temp;
|
22819
|
+
}
|
22813
22820
|
_this9.log("key status change \"" + status + "\" for keyStatuses keyId: " + Hex.hexDump('buffer' in keyId ? new Uint8Array(keyId.buffer, keyId.byteOffset, keyId.byteLength) : new Uint8Array(keyId)) + " session keyId: " + Hex.hexDump(new Uint8Array(mediaKeySessionContext.decryptdata.keyId || [])) + " uri: " + mediaKeySessionContext.decryptdata.uri);
|
22814
22821
|
mediaKeySessionContext.keyStatus = status;
|
22815
22822
|
});
|