mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-26 11:47:53 +00:00
Merge pull request #1328 in FS/freeswitch from ~ETHANATKINS/freeswitch:ice-reinvite to master
* commit '999a6dd0b7f37e99c53cea3bc79d92c3ffab1822': FS-10485: Re-activate ICE on all attribute changes
This commit is contained in:
commit
571bff4def
@ -4028,8 +4028,8 @@ static switch_status_t check_ice(switch_media_handle_t *smh, switch_media_type_t
|
|||||||
engine->rtcp_mux = -1;
|
engine->rtcp_mux = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (switch_channel_test_flag(smh->session->channel, CF_REINVITE)) {
|
if (engine->new_ice) {
|
||||||
if (switch_rtp_ready(engine->rtp_session) && engine->ice_in.cands[engine->ice_in.chosen[0]][0].ready && engine->new_ice) {
|
if (switch_rtp_ready(engine->rtp_session) && engine->ice_in.cands[engine->ice_in.chosen[0]][0].ready) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(smh->session), SWITCH_LOG_INFO, "RE-Activating %s ICE\n", type2str(type));
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(smh->session), SWITCH_LOG_INFO, "RE-Activating %s ICE\n", type2str(type));
|
||||||
|
|
||||||
switch_rtp_activate_ice(engine->rtp_session,
|
switch_rtp_activate_ice(engine->rtp_session,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user