mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-04-01 01:17:00 +02:00
Recordings improvements (#12417)
This commit is contained in:
parent
51153af944
commit
d08fe170f2
web/src/components/player
@ -110,6 +110,8 @@ export default function HlsVideoPlayer({
|
||||
if (!hlsRef.current) {
|
||||
hlsRef.current = new Hls();
|
||||
hlsRef.current.attachMedia(videoRef.current);
|
||||
} else {
|
||||
hlsRef.current.detachMedia();
|
||||
}
|
||||
|
||||
hlsRef.current.loadSource(currentSource);
|
||||
|
@ -204,7 +204,6 @@ export default function DynamicVideoPlayer({
|
||||
clearTimeout(loadingTimeout);
|
||||
}
|
||||
|
||||
setIsLoading(false);
|
||||
setNoRecording(false);
|
||||
}}
|
||||
setFullResolution={setFullResolution}
|
||||
|
Loading…
Reference in New Issue
Block a user