Deactivate the CameraServer by default.

Add `monitoring_feeds` property to `CameraServer`.
This saves resources for games that don't use a physical camera.
This commit is contained in:
Lukas Tenbrink
2025-03-16 13:03:06 +01:00
parent b377562b52
commit 54685c3037
7 changed files with 63 additions and 10 deletions

View File

@@ -37,7 +37,8 @@
class CameraMacOS : public CameraServer {
public:
CameraMacOS();
CameraMacOS() = default;
void update_feeds();
void set_monitoring_feeds(bool p_monitoring_feeds) override;
};