FS-7501: flush video on jb activate/reset
This commit is contained in:
parent
a08a89af3d
commit
d253f74e48
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue