@oddin-gg/havik-player 2.16.6 → 2.16.8
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.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +290 -237
- package/dist/index.js.map +1 -1
- package/docs/API.md +1 -1
- package/embed/index.html +1 -1
- package/examples/vanilla.html +1 -1
- package/package.json +1 -1
package/docs/API.md
CHANGED
|
@@ -1271,7 +1271,7 @@ interface MatchStatus {
|
|
|
1271
1271
|
interface PlaybackStats {
|
|
1272
1272
|
droppedFrames: number; // only grows for the session, even where the element's counter resets
|
|
1273
1273
|
decodedFrames?: number; // TOTAL frames incl. dropped (ratio = droppedFrames / decodedFrames); also only grows
|
|
1274
|
-
latencySeconds?: number; // live-edge latency: playhead behind the newest known media (both engines)
|
|
1274
|
+
latencySeconds?: number; // live-edge latency: playhead behind the newest known media (both engines; native omits it while paused)
|
|
1275
1275
|
targetLatencySeconds?: number; // live-sync target latency; compare vs latencySeconds for drift
|
|
1276
1276
|
bandwidthKbps?: number; // estimated bandwidth (hls.js engine)
|
|
1277
1277
|
levelHeight?: number; // current rendition height
|
package/embed/index.html
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
beacons endpoint can be derived and QoE analytics is silently off.
|
|
29
29
|
`analytics` is honoured from the injected config only, never the query.
|
|
30
30
|
-->
|
|
31
|
-
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.16.
|
|
31
|
+
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.16.8/dist/havik-player.global.js" integrity="sha384-KAz5zW9kkO2q8L9bpv80PqFJxY29BozMBqhJEYcC1+boGKEjNy1tBSY0iBrcm2J/" crossorigin="anonymous"></script>
|
|
32
32
|
<script>
|
|
33
33
|
HavikPlayer.bootEmbed();
|
|
34
34
|
</script>
|
package/examples/vanilla.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
shipped in each npm release is pinned to that release with Subresource
|
|
13
13
|
Integrity, injected at publish time (scripts/inject-sri.mjs). In
|
|
14
14
|
production, always use a pinned + SRI'd tag like the released copy. -->
|
|
15
|
-
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.16.
|
|
15
|
+
<script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.16.8/dist/havik-player.global.js" integrity="sha384-KAz5zW9kkO2q8L9bpv80PqFJxY29BozMBqhJEYcC1+boGKEjNy1tBSY0iBrcm2J/" crossorigin="anonymous"></script>
|
|
16
16
|
<script>
|
|
17
17
|
(async () => {
|
|
18
18
|
const player = await HavikPlayer.createPlayer({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oddin-gg/havik-player",
|
|
3
|
-
"version": "2.16.
|
|
3
|
+
"version": "2.16.8",
|
|
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,
|