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;
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;