summaryrefslogtreecommitdiff
path: root/kvmd/apps/__init__.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2021-05-25 10:45:55 +0300
committerDevaev Maxim <[email protected]>2021-05-25 10:45:55 +0300
commitbed223bd865dac0c7716db0fbfb30920acc52d7d (patch)
tree79afc05314c8b41ad55e265458ae2531d8125bad /kvmd/apps/__init__.py
parent787e5ddbaed9a79a253a06ac0f0bcb2b619c1126 (diff)
rewrited stun
Diffstat (limited to 'kvmd/apps/__init__.py')
-rw-r--r--kvmd/apps/__init__.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/kvmd/apps/__init__.py b/kvmd/apps/__init__.py
index 4f6f160d..9fc0c2bb 100644
--- a/kvmd/apps/__init__.py
+++ b/kvmd/apps/__init__.py
@@ -661,9 +661,11 @@ def _get_config_scheme() -> Dict:
"janus": {
"stun": {
- "host": Option("stun.l.google.com", type=valid_ip_or_host, unpack_as="stun_host"),
- "port": Option(19302, type=valid_port, unpack_as="stun_port"),
- "timeout": Option(5.0, type=valid_float_f01, unpack_as="stun_timeout"),
+ "host": Option("stun.l.google.com", type=valid_ip_or_host, unpack_as="stun_host"),
+ "port": Option(19302, type=valid_port, unpack_as="stun_port"),
+ "timeout": Option(5.0, type=valid_float_f01, unpack_as="stun_timeout"),
+ "retries": Option(5, type=valid_int_f1, unpack_as="stun_retries"),
+ "retries_delay": Option(5.0, type=valid_float_f01, unpack_as="stun_retries_delay"),
},
"check": {