@oddin-gg/havik-player 1.0.5 → 1.0.6
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 +2 -2
- package/dist/havik-player.global.js.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +66 -60
- package/dist/index.js.map +1 -1
- package/docs/API.md +12 -0
- package/embed/index.html +1 -1
- package/package.json +1 -1
package/docs/API.md
CHANGED
|
@@ -246,6 +246,18 @@ don't need to set any of the live or ABR knobs:
|
|
|
246
246
|
internal **ceiling (~12 s, derived as `liveLatencyTarget + 9`)**. This is what
|
|
247
247
|
stops latency from snowballing to tens of seconds after buffering. The ceiling
|
|
248
248
|
is internal and always kept above your `liveLatencyTarget`.
|
|
249
|
+
- **Over‑seek clamp** — the drift ceiling's counterpart on the _near_ side. A seek
|
|
250
|
+
that lands closer to live than `liveLatencyTarget` is pulled back onto it, so
|
|
251
|
+
dragging the scrub bar to its far right means **"go live"** rather than landing
|
|
252
|
+
on the bleeding edge — where latency reads under a second and playback stutters
|
|
253
|
+
frame‑by‑frame on an empty forward buffer. hls.js can't recover from that state
|
|
254
|
+
on its own (its live‑sync only ever corrects being _behind_), so the stutter
|
|
255
|
+
would otherwise persist for the rest of the session. Live only — VOD seeks are
|
|
256
|
+
untouched, and the clamp stands down while chasing is suspended on a stale
|
|
257
|
+
playlist (there is no live edge left to protect at that point). On the custom
|
|
258
|
+
control bar the bar's right end **is** the target, so the thumb reads full at
|
|
259
|
+
the live edge. Bring‑your‑own‑player (Mode B) owns its own seek UI and needs
|
|
260
|
+
the equivalent clamp itself.
|
|
249
261
|
- **Audio‑hole bridge** — `maxBufferHole` is raised to **0.5 s** so the ~0.45 s
|
|
250
262
|
audio "remainder" gap at each segment boundary is bridged as a sub‑perceptible
|
|
251
263
|
hitch instead of a rebuffer.
|
package/embed/index.html
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
apiKey, parentOrigin). When injected, the URL query string is IGNORED for
|
|
19
19
|
security; the api-key must NOT travel in the query in production.
|
|
20
20
|
-->
|
|
21
|
-
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@1.0.
|
|
21
|
+
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@1.0.6/dist/havik-player.global.js" integrity="sha384-a3nvA8zg7gVHSXHbX18U8pjEy1ieIQXwxakKOzRbch6tUUPmtn7N5Hzrr2zHKbBW" crossorigin="anonymous"></script>
|
|
22
22
|
<script>
|
|
23
23
|
HavikPlayer.bootEmbed();
|
|
24
24
|
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oddin-gg/havik-player",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Havik HTML5 player SDK — LL-HLS + DRM playback for Oddin live streams (managed, bring-your-own-player, and iframe-embed modes).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|