Udostępnij za pośrednictwem


Reviews.AddVideoFrameStreamWithHttpMessagesAsync Method

Definition

Use this method to add frames for a video review.Timescale: This parameter is a factor which is used to convert the timestamp on a frame into milliseconds. Timescale is provided in the output of the Content Moderator video media processor on the Azure Media Services platform.Timescale in the Video Moderation output is Ticks/Second.

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)

Parameters

contentType
String

The content type.

teamName
String

Your team name.

reviewId
String

Id of the review.

frameImageZip
Stream

Zip file containing frame images.

frameMetadata
String

Metadata of the frame.

timescale
Nullable<Int32>

Timescale of the video .

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Implements

Exceptions

Thrown when the operation returned an invalid status code

Thrown when a required parameter is null

Thrown when a required parameter is null

Applies to