mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-17 23:37:49 +08:00
Merge branch '2.0-alpha' of github.com:xiongziliang/ZLMediaKit into 2.0-alpha
This commit is contained in:
commit
3bc6ad4c90
@ -74,6 +74,9 @@ API_EXPORT void API_CALL onAppExit(){
|
|||||||
cleaner::Destory();
|
cleaner::Destory();
|
||||||
}
|
}
|
||||||
API_EXPORT void API_CALL setGlobalOptionString(const char *key,const char *val){
|
API_EXPORT void API_CALL setGlobalOptionString(const char *key,const char *val){
|
||||||
|
if(mINI::Instance().find(key) == mINI::Instance().end()){
|
||||||
|
WarnL << "key:" << key << " not existed!";
|
||||||
|
}
|
||||||
mINI::Instance()[key] = val;
|
mINI::Instance()[key] = val;
|
||||||
}
|
}
|
||||||
API_EXPORT int API_CALL initHttpServer(unsigned short port){
|
API_EXPORT int API_CALL initHttpServer(unsigned short port){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user