mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
修复getRecordStatus接口
This commit is contained in:
parent
8502ed27c4
commit
055c312579
@ -716,7 +716,7 @@ void installWebApi() {
|
||||
});
|
||||
|
||||
// 获取hls或MP4录制状态
|
||||
API_REGIST(api,stopRecord,{
|
||||
API_REGIST(api,getRecordStatus,{
|
||||
CHECK_SECRET();
|
||||
CHECK_ARGS("type","vhost","app","stream");
|
||||
auto status = Recorder::getRecordStatus((Recorder::type)allArgs["type"].as<int>(),
|
||||
|
Loading…
Reference in New Issue
Block a user