From a954550c82d520515ffbd4b180394e2bdcad6345 Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 28 Jun 2016 11:28:53 -0500 Subject: [PATCH] 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. --- src/mod/applications/mod_conference/conference_api.c | 5 ----- src/mod/applications/mod_conference/conference_record.c | 5 ----- 2 files changed, 10 deletions(-) diff --git a/src/mod/applications/mod_conference/conference_api.c b/src/mod/applications/mod_conference/conference_api.c index 1cfa8dbb48..8bad7f14ff 100644 --- a/src/mod/applications/mod_conference/conference_api.c +++ b/src/mod/applications/mod_conference/conference_api.c @@ -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]) { diff --git a/src/mod/applications/mod_conference/conference_record.c b/src/mod/applications/mod_conference/conference_record.c index 89afeab14b..218a057e00 100644 --- a/src/mod/applications/mod_conference/conference_record.c +++ b/src/mod/applications/mod_conference/conference_record.c @@ -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;