Set connection strategy to keep open
Apply to both default camera server and examples.
This commit is contained in:
Vendored
+1
@@ -163,6 +163,7 @@ void StartCamera(const CameraConfig& config) {
|
||||
config.name, config.path);
|
||||
|
||||
camera.SetConfigJson(config.config);
|
||||
camera.SetConnectionStrategy(cs::VideoSource::kConnectionKeepOpen);
|
||||
}
|
||||
} // namespace
|
||||
|
||||
|
||||
Reference in New Issue
Block a user