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