Fix mixed params (#4432)

This commit is contained in:
Nicolas Mowen 2022-11-19 06:14:54 -07:00 committed by GitHub
parent 410cea71f1
commit ad3f6fc551
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,14 +159,14 @@ export default function Debug() {
{cameras[camera]['detection_fps']} ({cameras[camera]['skipped_fps']} skipped) {cameras[camera]['detection_fps']} ({cameras[camera]['skipped_fps']} skipped)
</Td> </Td>
<Td>{cpu_usages[cameras[camera]['pid']]['cpu']}%</Td> <Td>{cpu_usages[cameras[camera]['pid']]['cpu']}%</Td>
<Td>{cpu_usages[cameras[camera]['pid']]['cpu']}%</Td> <Td>{cpu_usages[cameras[camera]['pid']]['mem']}%</Td>
</Tr> </Tr>
<Tr key="ffmpeg" index="2"> <Tr key="ffmpeg" index="2">
<Td>ffmpeg</Td> <Td>ffmpeg</Td>
<Td>{cameras[camera]['ffmpeg_pid']}</Td> <Td>{cameras[camera]['ffmpeg_pid']}</Td>
<Td>{cameras[camera]['camera_fps']}</Td> <Td>{cameras[camera]['camera_fps']}</Td>
<Td>{cpu_usages[cameras[camera]['ffmpeg_pid']]['cpu']}%</Td> <Td>{cpu_usages[cameras[camera]['ffmpeg_pid']]['cpu']}%</Td>
<Td>{cpu_usages[cameras[camera]['ffmpeg_pid']]['cpu']}%</Td> <Td>{cpu_usages[cameras[camera]['ffmpeg_pid']]['mem']}%</Td>
</Tr> </Tr>
</Tbody> </Tbody>
</Table> </Table>