@oddin-gg/havik-player 2.16.2 → 2.16.4

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/docs/API.md CHANGED
@@ -1255,7 +1255,8 @@ interface MatchStatus {
1255
1255
 
1256
1256
  ```ts
1257
1257
  interface PlaybackStats {
1258
- droppedFrames: number;
1258
+ droppedFrames: number; // only grows for the session, even where the element's counter resets
1259
+ decodedFrames?: number; // TOTAL frames incl. dropped (ratio = droppedFrames / decodedFrames); also only grows
1259
1260
  latencySeconds?: number; // live-edge latency: playhead behind the newest known media (both engines)
1260
1261
  targetLatencySeconds?: number; // live-sync target latency; compare vs latencySeconds for drift
1261
1262
  bandwidthKbps?: number; // estimated bandwidth (hls.js engine)
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.2/dist/havik-player.global.js" integrity="sha384-W4T0qTrp7+x2jEOFmEDt0v4868TQl1ethG8bHMIPDcWAqhWS+rdrxRRAxwfliLID" crossorigin="anonymous"></script>
31
+ <script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.16.4/dist/havik-player.global.js" integrity="sha384-W2+heG4rUFFDjEtZhecaS++NHDHR5NyWUPv37LZdD9aWIEbyRiYFoUAqMjBIKJcV" crossorigin="anonymous"></script>
32
32
  <script>
33
33
  HavikPlayer.bootEmbed();
34
34
  </script>
@@ -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.2/dist/havik-player.global.js" integrity="sha384-W4T0qTrp7+x2jEOFmEDt0v4868TQl1ethG8bHMIPDcWAqhWS+rdrxRRAxwfliLID" crossorigin="anonymous"></script>
15
+ <script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.16.4/dist/havik-player.global.js" integrity="sha384-W2+heG4rUFFDjEtZhecaS++NHDHR5NyWUPv37LZdD9aWIEbyRiYFoUAqMjBIKJcV" 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.2",
3
+ "version": "2.16.4",
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,