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