Set connection strategy to keep open
Apply to both default camera server and examples.
This commit is contained in:
@@ -173,6 +173,7 @@ public final class Main {
|
||||
Gson gson = new GsonBuilder().create();
|
||||
|
||||
camera.setConfigJson(gson.toJson(config.config));
|
||||
camera.setConnectionStrategy(VideoSource.ConnectionStrategy.kKeepOpen);
|
||||
|
||||
return camera;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user