hls.js 1.5.14-0.canary.10656 → 1.5.14-0.canary.10659
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 +16 -15
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +16 -15
- 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 +15 -15
- 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 +14 -15
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +2 -2
- package/src/exports-named.ts +17 -9
- package/src/loader/fragment-loader.ts +13 -12
package/dist/hls.light.mjs
CHANGED
@@ -421,7 +421,7 @@ function enableLogs(debugConfig, context, id) {
|
|
421
421
|
// Some browsers don't allow to use bind on console object anyway
|
422
422
|
// fallback to default if needed
|
423
423
|
try {
|
424
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.
|
424
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.10659"}`);
|
425
425
|
} catch (e) {
|
426
426
|
/* log fn threw an exception. All logger methods are no-ops. */
|
427
427
|
return createLogger();
|
@@ -11191,7 +11191,7 @@ class FragmentLoader {
|
|
11191
11191
|
};
|
11192
11192
|
// Assign frag stats to the loader's stats reference
|
11193
11193
|
frag.stats = loader.stats;
|
11194
|
-
|
11194
|
+
const callbacks = {
|
11195
11195
|
onSuccess: (response, stats, context, networkDetails) => {
|
11196
11196
|
this.resetLoader(frag, loader);
|
11197
11197
|
let payload = response.data;
|
@@ -11245,18 +11245,17 @@ class FragmentLoader {
|
|
11245
11245
|
networkDetails,
|
11246
11246
|
stats
|
11247
11247
|
}));
|
11248
|
-
},
|
11249
|
-
onProgress: (stats, context, data, networkDetails) => {
|
11250
|
-
if (onProgress) {
|
11251
|
-
onProgress({
|
11252
|
-
frag,
|
11253
|
-
part: null,
|
11254
|
-
payload: data,
|
11255
|
-
networkDetails
|
11256
|
-
});
|
11257
|
-
}
|
11258
11248
|
}
|
11259
|
-
}
|
11249
|
+
};
|
11250
|
+
if (onProgress) {
|
11251
|
+
callbacks.onProgress = (stats, context, data, networkDetails) => onProgress({
|
11252
|
+
frag,
|
11253
|
+
part: null,
|
11254
|
+
payload: data,
|
11255
|
+
networkDetails
|
11256
|
+
});
|
11257
|
+
}
|
11258
|
+
loader.load(loaderContext, loaderConfig, callbacks);
|
11260
11259
|
});
|
11261
11260
|
}
|
11262
11261
|
loadPart(frag, part, onProgress) {
|
@@ -13878,7 +13877,7 @@ function changeTypeSupported() {
|
|
13878
13877
|
return typeof (sourceBuffer == null ? void 0 : (_sourceBuffer$prototy = sourceBuffer.prototype) == null ? void 0 : _sourceBuffer$prototy.changeType) === 'function';
|
13879
13878
|
}
|
13880
13879
|
|
13881
|
-
const version = "1.5.14-0.canary.
|
13880
|
+
const version = "1.5.14-0.canary.10659";
|
13882
13881
|
|
13883
13882
|
// ensure the worker ends up in the bundle
|
13884
13883
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -21539,5 +21538,6 @@ var KeySystemFormats = emptyEs.KeySystemFormats;
|
|
21539
21538
|
var KeySystems = emptyEs.KeySystems;
|
21540
21539
|
var SubtitleStreamController = emptyEs.SubtitleStreamController;
|
21541
21540
|
var TimelineController = emptyEs.TimelineController;
|
21542
|
-
|
21541
|
+
var requestMediaKeySystemAccess = emptyEs.requestMediaKeySystemAccess;
|
21542
|
+
export { AbrController, AttrList, HevcVideoParser as AudioStreamController, HevcVideoParser as AudioTrackController, BasePlaylistController, BaseSegment, BaseStreamController, BufferController, HevcVideoParser as CMCDController, CapLevelController, ChunkMetadata, ContentSteeringController, HevcVideoParser as Cues, DateRange, HevcVideoParser as EMEController, ErrorActionFlags, ErrorController, ErrorDetails, ErrorTypes, Events, FPSController, FetchLoader, Fragment, Hls, HlsSkip, HlsUrlParameters, KeySystemFormats, KeySystems, Level, LevelDetails, LevelKey, LoadStats, MetadataSchema, NetworkErrorAction, Part, PlaylistLevelType, SubtitleStreamController, HevcVideoParser as SubtitleTrackController, TimelineController, XhrLoader, Hls as default, fetchSupported, getMediaSource, isMSESupported, isSupported, requestMediaKeySystemAccess };
|
21543
21543
|
//# sourceMappingURL=hls.light.mjs.map
|