mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
完善录制相关api错误提示
This commit is contained in:
parent
6b621d42db
commit
1f02144225
@ -736,6 +736,7 @@ void installWebApi() {
|
||||
allArgs["customized_path"]);
|
||||
val["result"] = result;
|
||||
val["code"] = result ? API::Success : API::OtherFailed;
|
||||
val["msg"] = result ? "success" : "start record failed";
|
||||
});
|
||||
|
||||
// 停止录制hls或MP4
|
||||
@ -748,6 +749,7 @@ void installWebApi() {
|
||||
allArgs["stream"]);
|
||||
val["result"] = result;
|
||||
val["code"] = result ? API::Success : API::OtherFailed;
|
||||
val["msg"] = result ? "success" : "stop record failed";
|
||||
});
|
||||
|
||||
// 获取hls或MP4录制状态
|
||||
|
Loading…
Reference in New Issue
Block a user