From: Anthony Minessale Date: Mon, 24 Oct 2016 21:34:57 +0000 (-0500) Subject: FS-9666 #resolve [Remove legacy code when getting an XML video refresh] X-Git-Tag: v1.8.0~1159 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b43fc7b47ba45092dd483c4208be90c408ef029;p=thirdparty%2Ffreeswitch.git FS-9666 #resolve [Remove legacy code when getting an XML video refresh] --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index cb8982c774..fa6307ea33 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -9253,12 +9253,7 @@ void sofia_handle_sip_i_info(nua_t *nua, sofia_profile_t *profile, nua_handle_t if (switch_channel_test_flag(channel, CF_VIDEO)) { switch_core_media_gen_key_frame(session); - if (switch_core_session_get_partner(session, &other_session) == SWITCH_STATUS_SUCCESS) { - sofia_glue_build_vid_refresh_message(other_session, sip->sip_payload->pl_data); - switch_core_session_rwunlock(other_session); - } else { - switch_channel_set_flag(channel, CF_VIDEO_REFRESH_REQ); - } + switch_channel_set_flag(channel, CF_VIDEO_REFRESH_REQ); } } else if (!strncasecmp(sip->sip_content_type->c_type, "application", 11) &&