From d253f74e48bfaf2377838d6a12023884e28c6c14 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 12 May 2015 15:52:25 -0500 Subject: [PATCH] FS-7501: flush video on jb activate/reset --- src/switch_rtp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index db4bbe38d2..b4a2e8a950 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -3936,6 +3936,9 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_set_video_buffer_size(switch_rtp_t *r switch_vb_set_frames(rtp_session->vb, frames, frames * 3); } + switch_rtp_flush(rtp_session); + switch_core_session_request_video_refresh(rtp_session->session); + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_DEBUG, "Setting video buffer %u Frames.\n", frames); return SWITCH_STATUS_SUCCESS;