diff options
-rw-r--r-- | src/mainwindow.cc | 2 | ||||
-rw-r--r-- | src/miav.conf | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc index 2abfbc8..b26d6ce 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -90,7 +90,7 @@ MainWindow::MainWindow( QWidget* parent, const char* name ) createGui(); show(); - // camera = new Camera("192.168.0.10", 30000); + camera = new Camera(cfg.readString("server_addr")->c_str(), cfg.readInt("server_port")); recording = false; frozen = false; diff --git a/src/miav.conf b/src/miav.conf index 214755f..f1e36b5 100644 --- a/src/miav.conf +++ b/src/miav.conf @@ -10,3 +10,7 @@ cpr_port = 10301 screensize = 19.0 pixel_width = 1024 pixel_height = 768 + +# How and where to connect to the miav server? +server_addr = "192.168.0.10" +server_port = 30000
\ No newline at end of file |