REST API fixes.
This commit is contained in:
parent
f733e3d45f
commit
09cde86772
@ -1,7 +1,9 @@
|
||||
11/17/2015 Oleg Moskalenko <mom040267@gmail.com>
|
||||
Version 4.5.0.4 'dan Eider':
|
||||
- hiredis and mongo compilation configuration fixed
|
||||
(fix provided by Harsha Bellur).
|
||||
(fix provided by Harsha Bellur).
|
||||
- RPM: Systemd optimization.
|
||||
- REST API option fixed.
|
||||
|
||||
11/15/2015 Oleg Moskalenko <mom040267@gmail.com>
|
||||
Version 4.5.0.3 'dan Eider':
|
||||
|
||||
@ -1162,10 +1162,14 @@ static void set_option(int c, char *value)
|
||||
#endif
|
||||
case AUTH_SECRET_OPT:
|
||||
turn_params.use_auth_secret_with_timestamp = 1;
|
||||
turn_params.ct = TURN_CREDENTIALS_LONG_TERM;
|
||||
use_lt_credentials = 1;
|
||||
break;
|
||||
case STATIC_AUTH_SECRET_VAL_OPT:
|
||||
add_to_secrets_list(&turn_params.default_users_db.ram_db.static_auth_secrets,value);
|
||||
turn_params.use_auth_secret_with_timestamp = 1;
|
||||
turn_params.ct = TURN_CREDENTIALS_LONG_TERM;
|
||||
use_lt_credentials = 1;
|
||||
break;
|
||||
case AUTH_SECRET_TS_EXP:
|
||||
TURN_LOG_FUNC(TURN_LOG_LEVEL_WARNING, "WARNING: Option --secret-ts-exp-time deprecated and has no effect.\n");
|
||||
|
||||
@ -154,7 +154,7 @@ static char Usage[] =
|
||||
" -z Per-session packet interval in milliseconds (default is 20 ms).\n"
|
||||
" -u STUN/TURN user name.\n"
|
||||
" -w STUN/TURN user password.\n"
|
||||
" -W TURN REST API authentication secret. Is not compatible with -A option.\n"
|
||||
" -W TURN REST API \"plain text\" secret.\n"
|
||||
" -C TURN REST API timestamp/username separator symbol (character). The default value is ':'.\n"
|
||||
" -F <cipher-suite> Cipher suite for TLS/DTLS. Default value is DEFAULT.\n"
|
||||
" -o <origin> - the ORIGIN STUN attribute value.\n"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user