ReviewsExtensions.AddVideoFrameUrlAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 AddVideoFrameUrlAsync (this Microsoft.Azure.CognitiveServices.ContentModerator.IReviews operations, string contentType, string teamName, string reviewId, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.VideoFrameBodyItem> videoFrameBody, int? timescale = default, System.Threading.CancellationToken cancellationToken = default);
static member AddVideoFrameUrlAsync : Microsoft.Azure.CognitiveServices.ContentModerator.IReviews * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.VideoFrameBodyItem> * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function AddVideoFrameUrlAsync (operations As IReviews, contentType As String, teamName As String, reviewId As String, videoFrameBody As IList(Of VideoFrameBodyItem), 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.
- videoFrameBody
- IList<VideoFrameBodyItem>
Body for add video frames API
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET