]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8536 #resolve [Send Keyframe when getting SIP INFO with picture_fast_update]
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 13 Nov 2015 20:15:39 +0000 (14:15 -0600)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 13 Nov 2015 20:15:39 +0000 (14:15 -0600)
src/mod/endpoints/mod_sofia/sofia.c

index c4116b0a1865754bfb055f75925f601c5876c86b..96f28eac92d657d38309427a09427109fe4e2c8c 100644 (file)
@@ -8894,6 +8894,7 @@ void sofia_handle_sip_i_info(nua_t *nua, sofia_profile_t *profile, nua_handle_t
                                switch_core_session_t *other_session;
 
                                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);