@oddin-gg/havik-player 2.25.0 → 2.26.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
@@ -214,8 +214,13 @@ export declare interface CreatePlayerOptions {
214
214
  * box at 1x "covers" with 960×540, and a 540p encode at 1:1 looks softer
215
215
  * than 720p downscaled into the same box. Measured on production 2026-11-01:
216
216
  * Windows viewers spent 73% of their time at ≤540p with 20–60 Mbps to spare.
217
- * Unset (the default): 1 rung on displays below 2x devicePixelRatio
218
- * (bandwidth permitting; the top rung is never exceeded), 0 at 2x and
217
+ * Unset (the default): 1 rung on displays below 2x devicePixelRatio. On
218
+ * LL-HLS it is earned per session — its parts download within half a part
219
+ * duration even at the higher rung's bitrate, the bandwidth estimate is
220
+ * twice that rung (kept down to 1.5x), and it has not stalled in the last
221
+ * 2 minutes (a stall after the first 10 s of playback drops the rung at
222
+ * once); streams without parts (VOD, classic live) get it as before. The
223
+ * top rung is never exceeded. 0 at 2x and
219
224
  * above — phones and 2x Macs keep the cover-only cap, whose rung already
220
225
  * matches their device pixels, so a rung above it would mostly cost data
221
226
  * on small screens. An explicit value applies on every display: 0 = the
@@ -266,8 +271,8 @@ export declare interface CreatePlayerOptions {
266
271
  * waiting for the next playlist to list it. The origin and CDNs hold that
267
272
  * request until the part exists, so a viewer far from the origin saves
268
273
  * 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.
274
+ * the part; a hinted part it never asks for is dropped. Default: true;
275
+ * pass `false` to opt out. Ignored when `hlsConfig.fLoader` is set.
271
276
  */
272
277
  preloadHints?: boolean;
273
278
  /** Force an engine; 'auto' uses the native engine for FairPlay on Apple
package/dist/index.d.ts CHANGED
@@ -214,8 +214,13 @@ export declare interface CreatePlayerOptions {
214
214
  * box at 1x "covers" with 960×540, and a 540p encode at 1:1 looks softer
215
215
  * than 720p downscaled into the same box. Measured on production 2026-11-01:
216
216
  * Windows viewers spent 73% of their time at ≤540p with 20–60 Mbps to spare.
217
- * Unset (the default): 1 rung on displays below 2x devicePixelRatio
218
- * (bandwidth permitting; the top rung is never exceeded), 0 at 2x and
217
+ * Unset (the default): 1 rung on displays below 2x devicePixelRatio. On
218
+ * LL-HLS it is earned per session — its parts download within half a part
219
+ * duration even at the higher rung's bitrate, the bandwidth estimate is
220
+ * twice that rung (kept down to 1.5x), and it has not stalled in the last
221
+ * 2 minutes (a stall after the first 10 s of playback drops the rung at
222
+ * once); streams without parts (VOD, classic live) get it as before. The
223
+ * top rung is never exceeded. 0 at 2x and
219
224
  * above — phones and 2x Macs keep the cover-only cap, whose rung already
220
225
  * matches their device pixels, so a rung above it would mostly cost data
221
226
  * on small screens. An explicit value applies on every display: 0 = the
@@ -266,8 +271,8 @@ export declare interface CreatePlayerOptions {
266
271
  * waiting for the next playlist to list it. The origin and CDNs hold that
267
272
  * request until the part exists, so a viewer far from the origin saves
268
273
  * 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.
274
+ * the part; a hinted part it never asks for is dropped. Default: true;
275
+ * pass `false` to opt out. Ignored when `hlsConfig.fLoader` is set.
271
276
  */
272
277
  preloadHints?: boolean;
273
278
  /** Force an engine; 'auto' uses the native engine for FairPlay on Apple