mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-22 07:02:34 +00:00
FS-9100 #resolve [Recording Fails if There Are Zero Webcams]
This commit is contained in:
parent
94d3f62aef
commit
db4693b570
@ -234,7 +234,7 @@ void *SWITCH_THREAD_FUNC conference_record_thread_run(switch_thread_t *thread, v
|
|||||||
|
|
||||||
flags = SWITCH_FILE_FLAG_WRITE | SWITCH_FILE_DATA_SHORT;
|
flags = SWITCH_FILE_FLAG_WRITE | SWITCH_FILE_DATA_SHORT;
|
||||||
|
|
||||||
if (conference->members_with_video && conference_utils_test_flag(conference, CFLAG_TRANSCODE_VIDEO)) {
|
if (conference_utils_test_flag(conference, CFLAG_TRANSCODE_VIDEO)) {
|
||||||
flags |= SWITCH_FILE_FLAG_VIDEO;
|
flags |= SWITCH_FILE_FLAG_VIDEO;
|
||||||
if (canvas) {
|
if (canvas) {
|
||||||
char *orig_path = rec->path;
|
char *orig_path = rec->path;
|
||||||
|
@ -2224,6 +2224,11 @@ void *SWITCH_THREAD_FUNC conference_video_muxing_thread_run(switch_thread_t *thr
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (video_count != canvas->video_count) {
|
||||||
|
count_changed = 1;
|
||||||
|
}
|
||||||
|
|
||||||
canvas->video_count = video_count;
|
canvas->video_count = video_count;
|
||||||
switch_mutex_unlock(conference->member_mutex);
|
switch_mutex_unlock(conference->member_mutex);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user