Improve camera status and production startup
This commit is contained in:
@@ -49,7 +49,7 @@ export const CameraFrame: React.FC<CameraFrameProps> = ({ camera, active = true,
|
||||
{/* 后端的 AGV 接口是单帧 JPEG,机械臂接口是 MJPEG;img 可同时承载两者。 */}
|
||||
{/* eslint-disable-next-line @next/next/no-img-element */}
|
||||
<img
|
||||
key={isPollingJpeg ? reloadKey : camera.id}
|
||||
key={camera.id}
|
||||
className="cameraFrameImage"
|
||||
src={streamUrl}
|
||||
alt={camera.name}
|
||||
|
||||
Reference in New Issue
Block a user