forked from Github/frigate
UI changes (#9823)
* fix button within button * add subtle overlay gradient * try disconnecting to improve memory usage * rounded corners on gradients
This commit is contained in:
@@ -243,6 +243,10 @@ function MSEPlayer({ camera, className, onPlaying }: MSEPlayerProps) {
|
||||
|
||||
useEffect(() => {
|
||||
onConnect();
|
||||
|
||||
return () => {
|
||||
onDisconnect();
|
||||
};
|
||||
}, [wsURL]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user