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

@ -131,6 +131,8 @@ option_t all_options[] = {
DEFINE_OPTION_DEFAULT(rtsp, port, uint, "8554", "Set the RTSP server port (default: 8854)."),
DEFINE_OPTION_PTR(webrtc, ice_servers, list, "Specify ICE servers: [(stun|turn|turns)(:|://)][username:password@]hostname[:port][?transport=udp|tcp|tls)]."),
DEFINE_OPTION_DEFAULT(log, debug, bool, "1", "Enable debug logging."),
DEFINE_OPTION_DEFAULT(log, verbose, bool, "1", "Enable verbose logging."),
DEFINE_OPTION_DEFAULT(log, stats, uint, "1", "Print statistics every duration."),