From a7c3c95beffe932687116daa17802e18039273f4 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 24 Jul 2019 16:29:41 +0000 Subject: [PATCH] [core] gen keyframe on new recording --- src/switch_ivr_async.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 726073c7a3..d0e8a9e054 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -1448,6 +1448,7 @@ static switch_bool_t record_callback(switch_media_bug_t *bug, void *user_data, s if (switch_core_file_has_video(rh->fh, SWITCH_TRUE)) { switch_core_media_bug_set_media_params(bug, &rh->fh->mm); switch_core_session_request_video_refresh(session); + switch_core_media_gen_key_frame(session); } } }