|
|
@@ -57,6 +57,8 @@ static string currentLogFile;
|
|
|
static string lastLogFile;
|
|
|
|
|
|
static bool portable_mode = false;
|
|
|
+bool opt_start_streaming = false;
|
|
|
+bool opt_start_recording = false;
|
|
|
string opt_starting_scene;
|
|
|
|
|
|
QObject *CreateShortcutFilter()
|
|
|
@@ -1555,6 +1557,12 @@ int main(int argc, char *argv[])
|
|
|
if (arg_is(argv[i], "--portable", "-p")) {
|
|
|
portable_mode = true;
|
|
|
|
|
|
+ } else if (arg_is(argv[i], "--startstreaming", nullptr)) {
|
|
|
+ opt_start_streaming = true;
|
|
|
+
|
|
|
+ } else if (arg_is(argv[i], "--startrecording", nullptr)) {
|
|
|
+ opt_start_recording = true;
|
|
|
+
|
|
|
} else if (arg_is(argv[i], "--scene", nullptr)) {
|
|
|
if (++i < argc) opt_starting_scene = argv[i];
|
|
|
}
|