Implement soft fullscreen mode with timeout handling in VideoPlayer component; update fullscreen state management and styling accordingly.

This commit is contained in:
Nikita
2025-12-23 14:25:07 -08:00
parent 937f13581e
commit 9233104381
2 changed files with 77 additions and 11 deletions

View File

@@ -120,11 +120,7 @@ function StreamPage() {
const stream = data?.stream ?? null
const playback = stream?.playback ?? null
const fallbackPlayback = stream?.hls_url
? resolveStreamPlayback({
hlsUrl: stream.hls_url,
webrtcUrl: null,
preferWebRtc: false,
})
? { type: "hls", url: stream.hls_url }
: null
const activePlayback =
playback?.type === "webrtc" && webRtcFailed