mirror of
https://github.com/linsa-io/linsa.git
synced 2026-04-27 02:38:45 +02:00
Implement soft fullscreen mode with timeout handling in VideoPlayer component; update fullscreen state management and styling accordingly.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user