mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-17 11:30:54 +08:00
添加配置项 mediaServerId
This commit is contained in:
@@ -130,7 +130,7 @@ const char *getContentType(const HttpArgs &value){
|
||||
|
||||
static void do_http_hook(const string &url,const ArgsType &body,const function<void(const Value &,const string &)> &fun){
|
||||
GET_CONFIG(string,mediaServerId,General::kMediaServerId);
|
||||
const_cast<ArgsType &>(body)["mediaserverid"] = mediaServerId;
|
||||
const_cast<ArgsType &>(body)["mediaServerId"] = mediaServerId;
|
||||
|
||||
GET_CONFIG(float,hook_timeoutSec,Hook::kTimeoutSec);
|
||||
HttpRequester::Ptr requester(new HttpRequester);
|
||||
|
||||
Reference in New Issue
Block a user