mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 11:17:09 +08:00
修复variant无法转换成json的bug
This commit is contained in:
parent
74d074ac53
commit
0637f1b476
@ -134,7 +134,7 @@ static inline void addHttpListener(){
|
|||||||
const string &contentOut){
|
const string &contentOut){
|
||||||
stringstream ss;
|
stringstream ss;
|
||||||
for(auto &pr : allArgs ){
|
for(auto &pr : allArgs ){
|
||||||
ss << pr.first << " : " << (string)pr.second << "\r\n";
|
ss << pr.first << " : " << pr.second << "\r\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
DebugL << "\r\n# request:\r\n" << parser.Method() << " " << parser.FullUrl() << "\r\n"
|
DebugL << "\r\n# request:\r\n" << parser.Method() << " " << parser.FullUrl() << "\r\n"
|
||||||
@ -379,7 +379,7 @@ void installWebApi() {
|
|||||||
//rtsp可以有双重鉴权!后面还会触发on_play事件
|
//rtsp可以有双重鉴权!后面还会触发on_play事件
|
||||||
val["code"] = 0;
|
val["code"] = 0;
|
||||||
val["encrypted"] = false;
|
val["encrypted"] = false;
|
||||||
val["passwd"] = allArgs["user_name"];
|
val["passwd"] = allArgs["user_name"].data();
|
||||||
});
|
});
|
||||||
|
|
||||||
API_REGIST(hook,on_stream_changed,{
|
API_REGIST(hook,on_stream_changed,{
|
||||||
|
Loading…
Reference in New Issue
Block a user