@oddin-gg/havik-player 2.16.12 → 2.17.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 +4 -1
- package/dist/havik-player.global.js +17 -17
- package/dist/havik-player.global.js.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +343 -269
- package/dist/index.js.map +1 -1
- package/docs/API.md +23 -19
- package/embed/index.html +1 -1
- package/examples/vanilla.html +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -257,7 +257,10 @@ waitForLive: {
|
|
|
257
257
|
```
|
|
258
258
|
|
|
259
259
|
**End of stream** is detected automatically: when the live stream finishes the
|
|
260
|
-
player stops and fires `ended`. It never sits buffering on a stream that's over
|
|
260
|
+
player stops and fires `ended`. It never sits buffering on a stream that's over,
|
|
261
|
+
not even after a return from the background. A page that comes back from another
|
|
262
|
+
app or tab re-syncs the live state from the server at once. Both engines also end
|
|
263
|
+
a live playlist that has stopped advancing for 12 s on their own. See
|
|
261
264
|
[`subscribeLiveState`](docs/API.md#subscribelivestate) to consume the live-state
|
|
262
265
|
channel directly.
|
|
263
266
|
|