IReviews.AddVideoFrameUrlWithHttpMessagesAsync 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>
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
String

The content type.

teamName
String

Your team name.

reviewId
String

Id of the review.

videoFrameBody
IList<VideoFrameBodyItem>

Body for add video frames API

timescale
Nullable<Int32>

Timescale of the video.

customHeaders
Dictionary<String,List<String>>

The headers that will be added to request.

cancellationToken
CancellationToken

The cancellation token.

Returns

Exceptions

Thrown when the operation returned an invalid status code

Thrown when a required parameter is null

Applies to