diff --git a/web/src/components/player/LivePlayer.tsx b/web/src/components/player/LivePlayer.tsx index 094e3a5cb..541ef0d6a 100644 --- a/web/src/components/player/LivePlayer.tsx +++ b/web/src/components/player/LivePlayer.tsx @@ -145,12 +145,6 @@ export default function LivePlayer({ height={cameraConfig.detect.height} /> ); - if (setLiveResolution) { - setLiveResolution({ - width: cameraConfig.detect.width, - height: cameraConfig.detect.height, - }); - } } else { player = ; }