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]) {
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;