@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/havik-player.global.js +15 -15
- package/dist/havik-player.global.js.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +414 -341
- package/dist/index.js.map +1 -1
- package/docs/API.md +1 -0
- package/embed/index.html +1 -1
- package/examples/vanilla.html +1 -1
- package/package.json +1 -1
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'. */
|