webrtc: allow to specify ice-servers on command line

This commit is contained in:
Kamil Trzcinski
2023-06-02 11:09:46 +02:00
parent 589c5fa602
commit e8ffe47343
6 changed files with 30 additions and 1 deletions

View File

@ -2,11 +2,14 @@
#include <stdio.h>
#define WEBRTC_OPTIONS_LENGTH 4096
typedef struct http_worker_s http_worker_t;
typedef struct webrtc_options_s {
bool running;
bool disabled;
char ice_servers[WEBRTC_OPTIONS_LENGTH];
} webrtc_options_t;
// WebRTC