新增获取推流推流代理列表和ffmpeg源列表接口 (#3992)

This commit is contained in:
mtdxc
2024-11-01 10:47:18 +08:00
committed by GitHub
parent 6729257eab
commit 901c381300
11 changed files with 176 additions and 14 deletions

View File

@@ -103,6 +103,7 @@ void FFmpegSource::play(const string &ffmpeg_cmd_key, const string &src_url, con
snprintf(cmd, sizeof(cmd), ffmpeg_cmd.data(), File::absolutePath("", ffmpeg_bin).data(), src_url.data(), dst_url.data());
auto log_file = ffmpeg_log.empty() ? "" : File::absolutePath("", ffmpeg_log);
_process.run(cmd, log_file);
_cmd = cmd;
InfoL << cmd;
if (is_local_ip(_media_info.host)) {