FS-9235: Fix sending RTCP in switch_core_media

This commit is contained in:
Giacomo Vacca 2016-06-07 17:04:33 +02:00
parent 9d7fe2430e
commit 79b214a1e5
1 changed files with 1 additions and 1 deletions

View File

@ -6702,7 +6702,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_activate_rtp(switch_core_sessi
if (!strcasecmp(val, "passthru")) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_INFO, "Activating RTCP PASSTHRU PORT %d\n", remote_rtcp_port);
switch_rtp_activate_rtcp(a_engine->rtp_session, -1, remote_rtcp_port, a_engine->rtcp_mux > 0);
} else if (remote_rtcp_port) {
} else {
int interval = atoi(val);
if (interval < 100 || interval > 500000) {
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_ERROR,