on_publish hook新增continue_push_ms参数,用于断连续推延时控制

This commit is contained in:
xiongziliang
2022-06-04 11:06:35 +08:00
parent b0beea7781
commit b23cbaa0f8
10 changed files with 33 additions and 17 deletions

View File

@@ -323,6 +323,9 @@ void installWebHook(){
if (obj.isMember("enable_fmp4")) {
option.enable_fmp4 = obj["enable_fmp4"].asBool();
}
if (obj.isMember("continue_push_ms")) {
option.continue_push_ms = obj["continue_push_ms"].asUInt();
}
invoker(err, option);
} else {
//推流鉴权失败