@oddin-gg/havik-player 2.23.4 → 2.24.0

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/index.d.cts CHANGED
@@ -260,6 +260,16 @@ export declare interface CreatePlayerOptions {
260
260
  * clear streams, and when `hlsConfig.fLoader` is set.
261
261
  */
262
262
  mediaDuringKey?: boolean;
263
+ /**
264
+ * Live LL-HLS (hls.js engine): fetch the part each playlist's
265
+ * EXT-X-PRELOAD-HINT names as soon as the playlist arrives, instead of
266
+ * waiting for the next playlist to list it. The origin and CDNs hold that
267
+ * request until the part exists, so a viewer far from the origin saves
268
+ * about one round trip per part. Bytes reach hls.js only when it asks for
269
+ * the part; a hinted part it never asks for is dropped. Default: false.
270
+ * Ignored when `hlsConfig.fLoader` is set.
271
+ */
272
+ preloadHints?: boolean;
263
273
  /** Force an engine; 'auto' uses the native engine for FairPlay on Apple
264
274
  * browsers and for every stream on iPhone/iPad, hls.js elsewhere wherever
265
275
  * supported, and falls back to native HLS. Default: 'auto'. */
package/dist/index.d.ts CHANGED
@@ -260,6 +260,16 @@ export declare interface CreatePlayerOptions {
260
260
  * clear streams, and when `hlsConfig.fLoader` is set.
261
261
  */
262
262
  mediaDuringKey?: boolean;
263
+ /**
264
+ * Live LL-HLS (hls.js engine): fetch the part each playlist's
265
+ * EXT-X-PRELOAD-HINT names as soon as the playlist arrives, instead of
266
+ * waiting for the next playlist to list it. The origin and CDNs hold that
267
+ * request until the part exists, so a viewer far from the origin saves
268
+ * about one round trip per part. Bytes reach hls.js only when it asks for
269
+ * the part; a hinted part it never asks for is dropped. Default: false.
270
+ * Ignored when `hlsConfig.fLoader` is set.
271
+ */
272
+ preloadHints?: boolean;
263
273
  /** Force an engine; 'auto' uses the native engine for FairPlay on Apple
264
274
  * browsers and for every stream on iPhone/iPad, hls.js elsewhere wherever
265
275
  * supported, and falls back to native HLS. Default: 'auto'. */