@oddin-gg/havik-player 2.22.0 → 2.22.1

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
@@ -346,7 +346,9 @@ is derived above it.
346
346
 
347
347
  - **Quality steps down when the device can't decode it.** If the browser keeps
348
348
  dropping more than 20% of frames for two 3 s checks in a row, the SDK caps
349
- ABR one rendition below the one playing (counted in `fpsDownCaps`). This is
349
+ ABR one rendition below the one playing (counted in `fpsDownCaps`). The two
350
+ checks right after a quality switch are not counted: the decoder restarts on
351
+ the new rendition and drops frames for a few seconds on its own. This is
350
352
  what keeps a laptop without hardware decoding from showing a stuttering
351
353
  picture that drifts away from the sound. It folds into the same cap as the
352
354
  player‑size and `maxBitrate` limits, never applies to a quality the viewer
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.22.0/dist/havik-player.global.js" integrity="sha384-Du3mmsR/KRsxQK7fr2QKzQVXHnmnP5Jt2RzfQklbA2fNAffKypMA7MJDil1KbNYi" crossorigin="anonymous"></script>
31
+ <script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.22.1/dist/havik-player.global.js" integrity="sha384-O1vQDOlf0kbqRybKaeTfXlJ6leLt9fSwx+6WMhXVc6Z6QV3QV1e8fvR+XbGbVsJx" 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.22.0/dist/havik-player.global.js" integrity="sha384-Du3mmsR/KRsxQK7fr2QKzQVXHnmnP5Jt2RzfQklbA2fNAffKypMA7MJDil1KbNYi" crossorigin="anonymous"></script>
15
+ <script src="https://cdn.jsdelivr.net/npm/@oddin-gg/havik-player@2.22.1/dist/havik-player.global.js" integrity="sha384-O1vQDOlf0kbqRybKaeTfXlJ6leLt9fSwx+6WMhXVc6Z6QV3QV1e8fvR+XbGbVsJx" 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.22.0",
3
+ "version": "2.22.1",
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,