Oleg Moskalenko 9 лет назад
Родитель
Сommit
f581dec843
2 измененных файлов с 4 добавлено и 2 удалено
  1. 3 1
      README.turnserver
  2. 1 1
      src/apps/relay/mainrelay.c

+ 3 - 1
README.turnserver

@@ -259,7 +259,9 @@ Flags:
     
 Options with required values:  
 
---stale-nonce[=600]		Use extra security with nonce value having limited lifetime (default 600 secs).
+--stale-nonce[=<value>]		Use extra security with nonce value having limited lifetime (default 600 secs).
+
+--max-allocate-lifetime	<value>		Set the maximum value for the allocation lifetime. Default to 3600 secs.
 
 -d, --listening-device	Listener interface device.
 			(NOT RECOMMENDED. Optional functionality, Linux only). 

+ 1 - 1
src/apps/relay/mainrelay.c

@@ -547,7 +547,7 @@ static char Usage[] = "Usage: turnserver [options]\n"
 " --simple-log					This flag means that no log file rollover will be used, and the log file\n"
 "						name will be constructed as-is, without PID and date appendage.\n"
 "						This option can be used, for example, together with the logrotate tool.\n"
-" --stale-nonce[=600]				Use extra security with nonce value having limited lifetime (default 600 secs).\n"
+" --stale-nonce[=<value>]			Use extra security with nonce value having limited lifetime (default 600 secs).\n"
 " --max-allocate-lifetime	<value>		Set the maximum value for the allocation lifetime. Default to 3600 secs.\n"
 " -S, --stun-only				Option to set standalone STUN operation only, all TURN requests will be ignored.\n"
 "     --no-stun					Option to suppress STUN functionality, only TURN requests will be processed.\n"