From: Anthony Minessale Date: Wed, 3 Jun 2015 02:09:45 +0000 (-0500) Subject: add a bit to 2db8f94ab6543018df1792663b809e77d521cab9 X-Git-Tag: v1.4.20~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09a28930f2c658b4aeceff10e0dba504e10924e0;p=thirdparty%2Ffreeswitch.git add a bit to 2db8f94ab6543018df1792663b809e77d521cab9 --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 4128b50f69..2a43e6334a 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -2976,6 +2976,8 @@ static void check_ice(switch_media_handle_t *smh, switch_media_type_t type, sdp_ if (engine->ice_in.cands[engine->ice_in.chosen[1]][1].con_port) { if (engine->rtcp_mux) { + engine->ice_in.cands[engine->ice_in.chosen[1]][1].con_port = engine->ice_in.cands[engine->ice_in.chosen[0]][0].con_port; + engine->ice_in.cands[engine->ice_in.chosen[1]][1].con_addr = engine->ice_in.cands[engine->ice_in.chosen[0]][0].con_addr; switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(smh->session), SWITCH_LOG_NOTICE, "Asked by candidate to set remote rtcp %s addr to %s:%d but this is rtcp-mux so no thanks\n", type2str(type), engine->ice_in.cands[engine->ice_in.chosen[1]][1].con_addr, engine->ice_in.cands[engine->ice_in.chosen[1]][1].con_port);