你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ReviewsExtensions.AddVideoFrameUrlAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用此方法为视频评论添加帧。时间刻度:此参数是一个因子,用于将帧上的时间戳转换为毫秒。 Azure 媒体服务平台上的内容审查器视频媒体处理器的输出中提供了时间刻度。视频审查输出中的时间刻度为 Ticks/秒。
public static System.Threading.Tasks.Task AddVideoFrameUrlAsync (this Microsoft.Azure.CognitiveServices.ContentModerator.IReviews operations, string contentType, string teamName, string reviewId, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.VideoFrameBodyItem> videoFrameBody, int? timescale = default, System.Threading.CancellationToken cancellationToken = default);
static member AddVideoFrameUrlAsync : Microsoft.Azure.CognitiveServices.ContentModerator.IReviews * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.VideoFrameBodyItem> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function AddVideoFrameUrlAsync (operations As IReviews, contentType As String, teamName As String, reviewId As String, videoFrameBody As IList(Of VideoFrameBodyItem), Optional timescale As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
参数
- operations
- IReviews
此扩展方法的操作组。
- contentType
- String
内容类型。
- teamName
- String
你的团队名称。
- reviewId
- String
评审的 ID。
- videoFrameBody
- IList<VideoFrameBodyItem>
用于添加视频帧 API 的正文
- cancellationToken
- CancellationToken
取消标记。