mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
845c6b0031
When a live stream has been seeked behind, replace the running position with a -MM:SS 'behind live' indicator (the videojs/HLS convention; matches the offset readout commonly seen in third-party YouTube live tooling). At the live edge we keep showing the running position. The offset uses [behindLiveMs], which subtracts the manifest's natural live offset (or LIVE_EDGE_FALLBACK_THRESHOLD_MS when the manifest doesn't declare one) so the value reflects the user-perceptible delay rather than the inherent ~25-30s HLS latency. The 'show as behind' boundary always agrees with the 'pill turns gray' boundary (both keyed on the same baseline), so the readout and the LIVE pill cannot disagree.