]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9303 these checks are no longer needed as the video flag is not sent to file open...
authorBrian West <brian@freeswitch.org>
Tue, 28 Jun 2016 16:28:53 +0000 (11:28 -0500)
committerBrian West <brian@freeswitch.org>
Tue, 28 Jun 2016 16:28:53 +0000 (11:28 -0500)
src/mod/applications/mod_conference/conference_api.c
src/mod/applications/mod_conference/conference_record.c

index 1cfa8dbb48b5672b656035b4e63f77955f1d9293..8bad7f14ff3917f4982f69b4be2bd082879e053f 100644 (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]) {
index 89afeab14bbfb27029bb331c86df64a0fcf91b23..218a057e00fda269915830a3899075e119311318 100644 (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;