mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复close_stream接口无回复问题
This commit is contained in:
parent
4f444203eb
commit
dfec2d76e0
@ -736,6 +736,7 @@ void installWebApi() {
|
|||||||
val["result"] = flag ? 0 : -1;
|
val["result"] = flag ? 0 : -1;
|
||||||
val["msg"] = flag ? "success" : "close failed";
|
val["msg"] = flag ? "success" : "close failed";
|
||||||
val["code"] = flag ? API::Success : API::OtherFailed;
|
val["code"] = flag ? API::Success : API::OtherFailed;
|
||||||
|
invoker(200, headerOut, val.toStyledString());
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user