Udostępnij za pośrednictwem


ReviewsExtensions.AddVideoFrameStreamAsync 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 static System.Threading.Tasks.Task AddVideoFrameStreamAsync (this Microsoft.Azure.CognitiveServices.ContentModerator.IReviews operations, string contentType, string teamName, string reviewId, System.IO.Stream frameImageZip, string frameMetadata, int? timescale = default, System.Threading.CancellationToken cancellationToken = default);
static member AddVideoFrameStreamAsync : Microsoft.Azure.CognitiveServices.ContentModerator.IReviews * string * string * string * System.IO.Stream * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function AddVideoFrameStreamAsync (operations As IReviews, contentType As String, teamName As String, reviewId As String, frameImageZip As Stream, frameMetadata As String, Optional timescale As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IReviews

The operations group for this extension method.

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 .

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to