diff --git a/src/mod/applications/mod_conference/conference_file.c b/src/mod/applications/mod_conference/conference_file.c index 9892d35368..caea29b2ba 100644 --- a/src/mod/applications/mod_conference/conference_file.c +++ b/src/mod/applications/mod_conference/conference_file.c @@ -91,12 +91,8 @@ switch_status_t conference_file_close(conference_obj_t *conference, conference_f conference_al_close(node->al); } #endif - if (conference->playing_video_file && switch_core_file_has_video(&node->fh, SWITCH_FALSE) && conference->canvases[0] && node->canvas_id > -1) { - if (conference->canvases[node->canvas_id]->timer.timer_interface) { - conference->canvases[node->canvas_id]->timer.interval = conference->video_fps.ms; - conference->canvases[node->canvas_id]->timer.samples = conference->video_fps.samples; - conference->canvases[node->canvas_id]->send_keyframe = 1; - } + if (conference->playing_video_file) { + conference->canvases[node->canvas_id]->send_keyframe = 1; conference->playing_video_file = 0; } return switch_core_file_close(&node->fh);