FS-10091
This commit is contained in:
parent
7d7383e69e
commit
bff1ee0f95
|
@ -91,12 +91,8 @@ switch_status_t conference_file_close(conference_obj_t *conference, conference_f
|
||||||
conference_al_close(node->al);
|
conference_al_close(node->al);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (conference->playing_video_file && switch_core_file_has_video(&node->fh, SWITCH_FALSE) && conference->canvases[0] && node->canvas_id > -1) {
|
if (conference->playing_video_file) {
|
||||||
if (conference->canvases[node->canvas_id]->timer.timer_interface) {
|
conference->canvases[node->canvas_id]->send_keyframe = 1;
|
||||||
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;
|
|
||||||
}
|
|
||||||
conference->playing_video_file = 0;
|
conference->playing_video_file = 0;
|
||||||
}
|
}
|
||||||
return switch_core_file_close(&node->fh);
|
return switch_core_file_close(&node->fh);
|
||||||
|
|
Loading…
Reference in New Issue