lower log level on ZRTP protection drop
When a call is being setup, a couple seconds of audio may be sent unencrypted. This seems to trigger the log message here with every such packet.
This commit is contained in:
parent
0c1a95f745
commit
236b927780
|
@ -3972,7 +3972,7 @@ static int rtp_common_write(switch_rtp_t *rtp_session,
|
|||
case zrtp_status_ok:
|
||||
break;
|
||||
case zrtp_status_drop:
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR, "Error: zRTP protection drop with code %d\n", stat);
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Error: zRTP protection drop with code %d\n", stat);
|
||||
ret = (int) bytes;
|
||||
goto end;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue