修复getRecordStatus接口

This commit is contained in:
xiongziliang 2019-12-05 14:12:22 +08:00
parent 8502ed27c4
commit 055c312579

View File

@ -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>(),