Compare commits
2 Commits
b62b398b69
...
0cca478475
| Author | SHA1 | Date |
|---|---|---|
|
|
0cca478475 | |
|
|
0f7485bab9 |
|
|
@ -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; }
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ namespace OpenAuth.WebApi.Controllers.ServiceControllers
|
|||
/// <summary>
|
||||
/// 创建行为场景分析任务
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <param name="data">参数详见文档7.1.3.3. 创建行为场景分析任务</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[AllowAnonymous]
|
||||
|
|
@ -174,5 +174,31 @@ namespace OpenAuth.WebApi.Controllers.ServiceControllers
|
|||
{
|
||||
return PostJsonAsync($"/processing/behavior/realtime/tasks/{taskId}", new { });
|
||||
}
|
||||
/// <summary>
|
||||
/// 查看场景认知通用分析任务列表
|
||||
/// </summary>
|
||||
/// <param name="page"></param>
|
||||
/// <param name="limit"></param>
|
||||
/// <param name="analysisType">分析类型,仅支持0:智能分析</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[AllowAnonymous]
|
||||
public Task<Response<string>> GetTasks(int page, int limit, int analysisType)
|
||||
{
|
||||
return PostJsonAsync($"/processing/behavior/realtime/tasks?currentPage={page}&pageSize={limit}&analysisType={analysisType}", new { });
|
||||
}
|
||||
/// <summary>
|
||||
/// 获取智能流播放地址
|
||||
/// </summary>
|
||||
/// <param name="id">taskId</param>
|
||||
/// <param name="streamType">智能流类型,当前仅支持2: 行为</param>
|
||||
/// <param name="type">行为场景智能流仅支持type=1</param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[AllowAnonymous]
|
||||
public Task<Response<string>> GetChannel(string id, int streamType, int type)
|
||||
{
|
||||
return PostJsonAsync($"/processing/inner/play/channel/{id}?streamType={streamType}&type={type}", new { });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue