serial in server_params

This commit is contained in:
Romain Vimont
2021-05-02 17:21:57 +02:00
parent 52f5c6d4c1
commit 6e8df74c41
3 changed files with 20 additions and 26 deletions

View File

@@ -15,6 +15,7 @@
struct server_params {
enum sc_log_level log_level;
const char *serial;
const char *crop;
const char *codec_options;
const char *encoder_name;
@@ -58,7 +59,7 @@ server_init(struct server *server, const struct server_params *params);
// push, enable tunnel et start the server
bool
server_start(struct server *server, const char *serial);
server_start(struct server *server);
// block until the communication with the server is established
bool