Set connection strategy to keep open
Apply to both default camera server and examples.
This commit is contained in:
@@ -127,6 +127,7 @@ def startCamera(config):
|
||||
.startAutomaticCapture(name=config.name, path=config.path)
|
||||
|
||||
camera.setConfigJson(json.dumps(config.config))
|
||||
camera.setConnectionStrategy(VideoSource.ConnectionStrategy.kKeepOpen)
|
||||
|
||||
return camera
|
||||
|
||||
|
||||
Reference in New Issue
Block a user