transport: use camera_bitrate and camera_framerate

This commit is contained in:
Aleix Conchillo Flaqué
2024-04-06 07:39:51 -07:00
parent dd696be04c
commit eb455043c4
3 changed files with 5 additions and 6 deletions

View File

@@ -393,7 +393,7 @@ class ThreadedTransport(AbstractTransport):
this_frame = next(self._images)
self.write_frame_to_camera(this_frame)
time.sleep(1.0 / self._fps)
time.sleep(1.0 / self._camera_framerate)
except Exception as e:
self._logger.error(f"Exception {e} in camera thread.")
raise e