mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2026-05-16 04:52:39 +02:00
985bd433a2
LIVE pill rendered next to the time display (regular + fullscreen layouts): - red filled with a white dot when at the live edge - gray bordered with a muted dot when behind - tap to jump to the live edge While live, the duration text + divider, loop button, and chapter view are hidden -- they're meaningless on a live stream and were just visual noise. Position text stays visible since for HLS DVR streams it shows offset within the available seek window. Pill state updates in the existing PlayerControlView progress tick; applyLiveUI() switches the surrounding UI on the onLiveChanged event. At construction the current isLive value is applied once so that attaching to an already-live media item starts in the right state. The chapter view's left-constraint now chains through live_pill_container, which collapses to width 0 when the pill is GONE on VOD -- so the chapter view sits in the same place it always did when live is off.