ensure jsmpeg canvas is rounded and clipped (#9842)

This commit is contained in:
Josh Hawkins
2024-02-13 17:25:28 -06:00
committed by GitHub
parent ac0059cc1a
commit fa384a7f9d
2 changed files with 4 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ export default function LivePlayer({
} else if (liveMode == "jsmpeg") {
player = (
<JSMpegPlayer
className="w-full flex justify-center"
className="w-full flex justify-center rounded-2xl overflow-hidden"
camera={cameraConfig.name}
width={cameraConfig.detect.width}
height={cameraConfig.detect.height}