补充C API拉流代理缺少retry_count重试次数配置 (#3584)

Co-authored-by: 李道甫 <lidf@ahtelit.com>
This commit is contained in:
Lidaofu
2024-05-30 10:49:05 +08:00
committed by GitHub
parent 3a50c6e06d
commit 49dfccd56f
4 changed files with 48 additions and 10 deletions

View File

@@ -51,6 +51,9 @@ extern "C" {
//输出日志到回调函数(mk_events::on_mk_log)
#define LOG_CALLBACK (1 << 2)
//向下兼容
#define mk_env_init1 mk_env_init2
//回调user_data回调函数
typedef void(API_CALL *on_user_data_free)(void *user_data);
@@ -104,7 +107,7 @@ API_EXPORT void API_CALL mk_stop_all_server();
* @param ssl ssl证书内容或路径可以为NULL
* @param ssl_pwd 证书密码可以为NULL
*/
API_EXPORT void API_CALL mk_env_init1(int thread_num,
API_EXPORT void API_CALL mk_env_init2(int thread_num,
int log_level,
int log_mask,
const char *log_file_path,