FS-9303 these checks are no longer needed as the video flag is not sent to file open unless we are in transcode mode, you can record mp4 but it will only contain the audio if in passthru mode.

This commit is contained in:
Brian West 2016-06-28 11:28:53 -05:00
parent 9508370de8
commit a954550c82
2 changed files with 0 additions and 10 deletions

View File

@ -2506,11 +2506,6 @@ 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 (argv[3]) {
if (argv[3]) {

View File

@ -60,11 +60,6 @@ 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;
}
rec->conference = conference;
rec->path = switch_core_strdup(pool, path);
rec->pool = pool;