你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Reviews.AddVideoFrameStreamWithHttpMessagesAsync 方法

定义

使用此方法为视频评论添加帧。时间刻度:此参数是一个因子,用于将帧上的时间戳转换为毫秒。 Azure 媒体服务平台上的内容审查器视频媒体处理器的输出中提供了时间刻度。视频审查输出中的时间刻度为 Ticks/秒。

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse> AddVideoFrameStreamWithHttpMessagesAsync (string contentType, string teamName, string reviewId, System.IO.Stream frameImageZip, string frameMetadata, int? timescale = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member AddVideoFrameStreamWithHttpMessagesAsync : string * string * string * System.IO.Stream * string * Nullable<int> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse>
override this.AddVideoFrameStreamWithHttpMessagesAsync : string * string * string * System.IO.Stream * string * Nullable<int> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse>
Public Function AddVideoFrameStreamWithHttpMessagesAsync (contentType As String, teamName As String, reviewId As String, frameImageZip As Stream, frameMetadata As String, 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。

frameImageZip
Stream

包含帧图像的 Zip 文件。

frameMetadata
String

帧的元数据。

timescale
Nullable<Int32>

视频 的时间刻度。

customHeaders
Dictionary<String,List<String>>

将添加到请求的标头。

cancellationToken
CancellationToken

取消标记。

返回

实现

例外

操作返回无效状态代码时引发

当所需的参数为 null 时引发

当所需的参数为 null 时引发

适用于