reset method

void reset()

Clears all video data and resets the timer.

Implementation

void reset() {
	resetNetworkFps();
	for (final name in CameraName.values) {
		feeds[name]!.details.status = CameraStatus.CAMERA_DISCONNECTED;
	}

	frameUpdater?.cancel();
	frameUpdater = Timer.periodic(
		Duration(milliseconds: (1000/models.settings.dashboard.maxFps).round()),
		(_) => notifyListeners(),
	);
}