@7365admin1/layer-common 4.35.1-staging.414 → 4.35.1-staging.415
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/package.json +1 -1
- package/utils/robot-control.ts +4 -1
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "4.35.1-staging.
|
|
5
|
+
"version": "4.35.1-staging.415",
|
|
6
6
|
"author": "7365admin1",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
|
package/utils/robot-control.ts
CHANGED
|
@@ -187,12 +187,15 @@ const CODEC_ERRORS = new Set(["manifestIncompatibleCodecsError", "bufferAddCodec
|
|
|
187
187
|
* a hiccup - the owner's "10-15 s delay". Now: 6 s behind (1.5 segments, so
|
|
188
188
|
* one late segment does not stall), play up to 1.2x to win back time lost to
|
|
189
189
|
* a hiccup, and jump forward if it ever falls 14 s behind.
|
|
190
|
+
* `lowLatencyMode` must be on for the catch-up: hls.js only adjusts the
|
|
191
|
+
* playback rate in low-latency mode (it is harmless on a plain playlist - no
|
|
192
|
+
* parts, nothing else changes).
|
|
190
193
|
* ponytail: a lower-latency protocol (FLV / WebRTC) is not offered by PadBot's
|
|
191
194
|
* §6.5 video API; ask PadBot if 6 s is still too slow.
|
|
192
195
|
*/
|
|
193
196
|
export const LIVE_HLS_CONFIG = {
|
|
194
197
|
enableWorker: true,
|
|
195
|
-
lowLatencyMode:
|
|
198
|
+
lowLatencyMode: true,
|
|
196
199
|
liveSyncDuration: 6,
|
|
197
200
|
liveMaxLatencyDuration: 14,
|
|
198
201
|
maxLiveSyncPlaybackRate: 1.2,
|