你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IReviews.AddVideoFrameUrlWithHttpMessagesAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用此方法为视频评论添加帧。时间刻度:此参数是一个因子,用于将帧上的时间戳转换为毫秒。 Azure 媒体服务平台上的内容审查器视频媒体处理器的输出中提供了时间刻度。视频审查输出中的时间刻度为 Ticks/秒。
public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse> AddVideoFrameUrlWithHttpMessagesAsync (string contentType, string teamName, string reviewId, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.VideoFrameBodyItem> videoFrameBody, int? timescale = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddVideoFrameUrlWithHttpMessagesAsync : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.VideoFrameBodyItem> * Nullable<int> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse>
Public Function AddVideoFrameUrlWithHttpMessagesAsync (contentType As String, teamName As String, reviewId As String, videoFrameBody As IList(Of VideoFrameBodyItem), Optional timescale As Nullable(Of Integer) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse)
参数
- contentType
- String
内容类型。
- teamName
- String
你的团队名称。
- reviewId
- String
评审的 ID。
- videoFrameBody
- IList<VideoFrameBodyItem>
用于添加视频帧 API 的正文
- customHeaders
- Dictionary<String,List<String>>
将添加到请求的标头。
- cancellationToken
- CancellationToken
取消标记。
返回
例外
操作返回无效状态代码时引发
当所需的参数为 null 时引发
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈