查询合并文件列表增加app,stream, callId过滤参数

This commit is contained in:
648540858
2023-11-28 09:30:49 +08:00
parent dbf92b96b0
commit 3d5842e9e2
4 changed files with 20 additions and 5 deletions

View File

@@ -257,8 +257,17 @@ public class AssistRESTfulUtils {
return sendPost(mediaServerItem, "api/record/file/download/task/add", videoTaskInfoJSON, null, 30);
}
public JSONObject queryTaskList(MediaServerItem mediaServerItem, String taskId, Boolean isEnd) {
public JSONObject queryTaskList(MediaServerItem mediaServerItem, String app, String stream, String callId, String taskId, Boolean isEnd) {
Map<String, Object> param = new HashMap<>();
if (!ObjectUtils.isEmpty(app)) {
param.put("app", app);
}
if (!ObjectUtils.isEmpty(stream)) {
param.put("stream", stream);
}
if (!ObjectUtils.isEmpty(callId)) {
param.put("callId", callId);
}
if (!ObjectUtils.isEmpty(taskId)) {
param.put("taskId", taskId);
}