@oddin-gg/havik-player 2.6.3 → 2.7.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/README.md CHANGED
@@ -279,8 +279,15 @@ are correlated with CDN logs via a server-minted CMCD session id (`sid`). The
279
279
  `sid` lives **only in JS memory**, never in storage or cookies, and dies with the
280
280
  player. Opt out or
281
281
  redirect with the `analytics` option on `createPlayer`
282
- (`analytics: false | { endpoint?: string }`); without a server-minted `sid` the
283
- emitter is inert.
282
+ (`analytics: false | { endpoint?: string; idleMs?: number }`); without a
283
+ server-minted `sid` the emitter is inert.
284
+
285
+ A session closes itself
286
+ (`END_REASON_IDLE`) after `idleMs` of sitting paused. The default is 10
287
+ minutes, and `0` disables it. The same close happens when the page was
288
+ suspended (OS sleep, a frozen tab) for that long. The suspension gap never
289
+ goes below five minutes, whatever `idleMs` is. The next `play()` reloads the
290
+ stream as a fresh session.
284
291
 
285
292
  ## Privacy
286
293