@oddin-gg/havik-player 1.1.0 → 1.2.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 +1 -1
- package/dist/havik-player.global.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/docs/API.md +10 -4
- package/embed/index.html +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -83,7 +83,7 @@ export declare interface CreatePlayerOptions {
|
|
|
83
83
|
maxBitrate?: number;
|
|
84
84
|
/**
|
|
85
85
|
* Target live-edge latency in seconds (maps to hls.js liveSyncDuration).
|
|
86
|
-
* Default:
|
|
86
|
+
* Default: 2 (a balance the engine ships — close to live but back from the
|
|
87
87
|
* bleeding PART-HOLD-BACK edge, where parts aren't reliably published yet).
|
|
88
88
|
* Lower = closer to live but more rebuffer-prone; higher = steadier. The
|
|
89
89
|
* engine derives a matching latency ceiling internally, so this is the only
|
package/dist/index.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ export declare interface CreatePlayerOptions {
|
|
|
83
83
|
maxBitrate?: number;
|
|
84
84
|
/**
|
|
85
85
|
* Target live-edge latency in seconds (maps to hls.js liveSyncDuration).
|
|
86
|
-
* Default:
|
|
86
|
+
* Default: 2 (a balance the engine ships — close to live but back from the
|
|
87
87
|
* bleeding PART-HOLD-BACK edge, where parts aren't reliably published yet).
|
|
88
88
|
* Lower = closer to live but more rebuffer-prone; higher = steadier. The
|
|
89
89
|
* engine derives a matching latency ceiling internally, so this is the only
|
package/dist/index.js
CHANGED
|
@@ -510,7 +510,7 @@ function I(e, t) {
|
|
|
510
510
|
function L() {
|
|
511
511
|
return e.isSupported();
|
|
512
512
|
}
|
|
513
|
-
var R = 3, z = 5, B = 3, V = 3e4, H = 12e3, U = 3e3, de = 6e3, fe =
|
|
513
|
+
var R = 3, z = 5, B = 3, V = 3e4, H = 12e3, U = 3e3, de = 6e3, fe = 2, pe = 9, me = .5;
|
|
514
514
|
function he(e) {
|
|
515
515
|
if (e.liveSyncDurationCount != null || e.liveMaxLatencyDurationCount != null) {
|
|
516
516
|
delete e.liveSyncDuration, delete e.liveMaxLatencyDuration;
|