mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-25 10:20:32 -06:00
Don't detach media (#12421)
This commit is contained in:
parent
d08fe170f2
commit
843d301950
@ -110,8 +110,6 @@ export default function HlsVideoPlayer({
|
||||
if (!hlsRef.current) {
|
||||
hlsRef.current = new Hls();
|
||||
hlsRef.current.attachMedia(videoRef.current);
|
||||
} else {
|
||||
hlsRef.current.detachMedia();
|
||||
}
|
||||
|
||||
hlsRef.current.loadSource(currentSource);
|
||||
|
Loading…
Reference in New Issue
Block a user