mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
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:
@@ -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]) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user