@oddin-gg/havik-player 2.1.0 → 2.1.2

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/index.d.cts CHANGED
@@ -162,8 +162,15 @@ export declare interface CreatePlayerOptions {
162
162
  /** Stats sampling cadence. Default: 2000ms. */
163
163
  statsIntervalMs?: number;
164
164
  /**
165
- * How often to silently refresh the signed DRM license URL for long live
166
- * sessions (the HMAC expires ~10min). Default: 8min. Set 0 to disable.
165
+ * How often to silently re-resolve playback so the signed DRM license URL
166
+ * the player would use next stays inside its signature lifetime (~10 min).
167
+ * Default: 8 min. Set 0 to disable.
168
+ *
169
+ * This refreshes the URL, not the license. It gives the player a newer URL
170
+ * for the next license request it makes, and issues none of its own, so it
171
+ * cannot extend a license the CDM already holds: how long that stays valid
172
+ * is set when it is issued, server-side. A session that outlasts its license
173
+ * ends with a fatal `DRM_CLIENT` error whatever this is set to.
167
174
  */
168
175
  licenseRefreshMs?: number;
169
176
  /**
package/dist/index.d.ts CHANGED
@@ -162,8 +162,15 @@ export declare interface CreatePlayerOptions {
162
162
  /** Stats sampling cadence. Default: 2000ms. */
163
163
  statsIntervalMs?: number;
164
164
  /**
165
- * How often to silently refresh the signed DRM license URL for long live
166
- * sessions (the HMAC expires ~10min). Default: 8min. Set 0 to disable.
165
+ * How often to silently re-resolve playback so the signed DRM license URL
166
+ * the player would use next stays inside its signature lifetime (~10 min).
167
+ * Default: 8 min. Set 0 to disable.
168
+ *
169
+ * This refreshes the URL, not the license. It gives the player a newer URL
170
+ * for the next license request it makes, and issues none of its own, so it
171
+ * cannot extend a license the CDM already holds: how long that stays valid
172
+ * is set when it is issued, server-side. A session that outlasts its license
173
+ * ends with a fatal `DRM_CLIENT` error whatever this is set to.
167
174
  */
168
175
  licenseRefreshMs?: number;
169
176
  /**