start method
Starts the camera and timers.
Implementation
void start() {
if (details.status != CameraStatus.CAMERA_ENABLED) return;
sendLog(LogLevel.debug, "Starting camera $name. Status=${details.status}");
final interval = details.fps == 0 ? Duration.zero : Duration(milliseconds: 1000 ~/ details.fps);
frameTimer = Timer.periodic(interval, _frameCallback);
fpsTimer = Timer.periodic(const Duration(seconds: 5), (_) {
sendLog(LogLevel.trace, "Camera $name sent ${fpsCount ~/ 5} frames");
fpsCount = 0;
});
initCamera();
}