Reviews.AddVideoFrameUrlWithHttpMessagesAsync(String, String, String, IList<VideoFrameBodyItem>, Nullable<Int32>, Dictionary<String,List<String>>, CancellationToken) 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> 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>
override this.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)

Parameters

contentType
System.String

The content type.

teamName
System.String

Your team name.

reviewId
System.String

Id of the review.

videoFrameBody
System.Collections.Generic.IList<VideoFrameBodyItem>

Body for add video frames API

timescale
System.Nullable<System.Int32>

Timescale of the video.

customHeaders
System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.List<System.String>>

Headers that will be added to request.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<HttpOperationResponse>

Implements

Exceptions

Thrown when the operation returned an invalid status code

Thrown when a required parameter is null

System.ArgumentNullException

Thrown when a required parameter is null

Applies to