提交 a954550c authored 作者: Brian West's avatar Brian West

FS-9303 these checks are no longer needed as the video flag is not sent to file…

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.
上级 9508370d
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论