Compare commits
No commits in common. "0cca47847522e8fc37d47192f3d66e19055f02ca" and "b62b398b69c7c2d4ad666c6c8cfe377132e451b2" have entirely different histories.
0cca478475
...
b62b398b69
|
|
@ -15,7 +15,7 @@ namespace OpenAuth.App.ServiceApp.Request
|
||||||
|
|
||||||
public int analysisType { get; set; }
|
public int analysisType { get; set; }
|
||||||
|
|
||||||
public string url { get; set; }//待分析的rtsp码流地址,标准rtsp
|
public string url { get; set; }
|
||||||
|
|
||||||
public string memo { get; set; }
|
public string memo { get; set; }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -155,7 +155,7 @@ namespace OpenAuth.WebApi.Controllers.ServiceControllers
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 创建行为场景分析任务
|
/// 创建行为场景分析任务
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="data">参数详见文档7.1.3.3. 创建行为场景分析任务</param>
|
/// <param name="data"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
[AllowAnonymous]
|
[AllowAnonymous]
|
||||||
|
|
@ -174,31 +174,5 @@ namespace OpenAuth.WebApi.Controllers.ServiceControllers
|
||||||
{
|
{
|
||||||
return PostJsonAsync($"/processing/behavior/realtime/tasks/{taskId}", new { });
|
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