[mod_verto] get the conference to send a keyframe when you reload/attach so the video shows up faster

This commit is contained in:
Anthony Minessale authored and Andrey Volk committed 2021-10-23 22:00:21 +03:00
1 parent ff48868dc4
commit 91c0379041
2 files changed
+15 -6

No files matched your search

@@ -3344,7 +3344,8 @@ void *SWITCH_THREAD_FUNC conference_video_muxing_thread_run(switch_thread_t *thr
if (imember->watching_canvas_id == canvas->canvas_id && switch_channel_test_flag(imember->channel, CF_VIDEO_REFRESH_REQ)) {
switch_channel_clear_flag(imember->channel, CF_VIDEO_REFRESH_REQ);
send_keyframe = SWITCH_TRUE;
canvas->send_keyframe = 30;
send_keyframe = 1;
}
if (conference_utils_test_flag(conference, CFLAG_MINIMIZE_VIDEO_ENCODING) &&