Merge pull request #877 in FS/freeswitch from ~GIAVAC/freeswitch:master to master
* commit '79b214a1e509147e54295e225301bdbf6211fbbd': FS-9235: Fix sending RTCP in switch_core_media
This commit is contained in:
commit
306a044ecd
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue