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) &&