diff --git a/OpenAuth.App/ServiceApp/Request/DaHuaTaskInfo.cs b/OpenAuth.App/ServiceApp/Request/DaHuaTaskInfo.cs
index 4a04566..33d4d12 100644
--- a/OpenAuth.App/ServiceApp/Request/DaHuaTaskInfo.cs
+++ b/OpenAuth.App/ServiceApp/Request/DaHuaTaskInfo.cs
@@ -15,8 +15,8 @@ namespace OpenAuth.App.ServiceApp.Request
public int analysisType { get; set; }
- public string url { get; set; }
-
+ public string url { get; set; }//待分析的rtsp码流地址,标准rtsp
+
public string memo { get; set; }
public string config { get; set; }
diff --git a/OpenAuth.WebApi/Controllers/ServiceControllers/DaHuaAiController.cs b/OpenAuth.WebApi/Controllers/ServiceControllers/DaHuaAiController.cs
index 60ec403..d398f94 100644
--- a/OpenAuth.WebApi/Controllers/ServiceControllers/DaHuaAiController.cs
+++ b/OpenAuth.WebApi/Controllers/ServiceControllers/DaHuaAiController.cs
@@ -155,7 +155,7 @@ namespace OpenAuth.WebApi.Controllers.ServiceControllers
///
/// 创建行为场景分析任务
///
- ///
+ /// 参数详见文档7.1.3.3. 创建行为场景分析任务
///
[HttpPost]
[AllowAnonymous]
@@ -174,5 +174,31 @@ namespace OpenAuth.WebApi.Controllers.ServiceControllers
{
return PostJsonAsync($"/processing/behavior/realtime/tasks/{taskId}", new { });
}
+ ///
+ /// 查看场景认知通用分析任务列表
+ ///
+ ///
+ ///
+ /// 分析类型,仅支持0:智能分析
+ ///
+ [HttpPost]
+ [AllowAnonymous]
+ public Task> GetTasks(int page, int limit, int analysisType)
+ {
+ return PostJsonAsync($"/processing/behavior/realtime/tasks?currentPage={page}&pageSize={limit}&analysisType={analysisType}", new { });
+ }
+ ///
+ /// 获取智能流播放地址
+ ///
+ /// taskId
+ /// 智能流类型,当前仅支持2: 行为
+ /// 行为场景智能流仅支持type=1
+ ///
+ [HttpPost]
+ [AllowAnonymous]
+ public Task> GetChannel(string id, int streamType, int type)
+ {
+ return PostJsonAsync($"/processing/inner/play/channel/{id}?streamType={streamType}&type={type}", new { });
+ }
}
}