FS-9076 #resolve
This commit is contained in:
parent
2477740700
commit
be8440b0b0
|
@ -2510,6 +2510,11 @@ switch_status_t conference_api_sub_record(conference_obj_t *conference, switch_s
|
|||
return SWITCH_STATUS_GENERR;
|
||||
}
|
||||
|
||||
if (conference->conference_video_mode == CONF_VIDEO_MODE_PASSTHROUGH) {
|
||||
stream->write_function(stream, "-ERR Video Passthru enabled, recording not permitted.\n");
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
if (conference_utils_test_flag(conference, CFLAG_PERSONAL_CANVAS)) {
|
||||
stream->write_function(stream, "-ERR Personal Canvas enabled, recording not permitted.\n");
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
|
|
|
@ -60,6 +60,11 @@ void conference_record_launch_thread(conference_obj_t *conference, char *path, i
|
|||
return;
|
||||
}
|
||||
|
||||
if (conference->conference_video_mode == CONF_VIDEO_MODE_PASSTHROUGH) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Video Passthru enabled, recording not permitted.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (conference_utils_test_flag(conference, CFLAG_PERSONAL_CANVAS)) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Personal Canvas enabled, recording not permitted.\n");
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue