MediaGraphFileSink Constructor

Definition

Initializes a new instance of MediaGraphFileSink.

public MediaGraphFileSink (string name, System.Collections.Generic.IEnumerable<Azure.Media.Analytics.Edge.Models.MediaGraphNodeInput> inputs, string baseDirectoryPath, string fileNamePattern, string maximumSizeMiB);
new Azure.Media.Analytics.Edge.Models.MediaGraphFileSink : string * seq<Azure.Media.Analytics.Edge.Models.MediaGraphNodeInput> * string * string * string -> Azure.Media.Analytics.Edge.Models.MediaGraphFileSink
Public Sub New (name As String, inputs As IEnumerable(Of MediaGraphNodeInput), baseDirectoryPath As String, fileNamePattern As String, maximumSizeMiB As String)

Parameters

name
String

The name to be used for the media graph sink.

inputs
IEnumerable<MediaGraphNodeInput>

An array of the names of the other nodes in the media graph, the outputs of which are used as input for this sink node.

baseDirectoryPath
String

Absolute directory for all outputs to the Edge device from this sink.

fileNamePattern
String

File name pattern for creating new files on the Edge device. The pattern must include at least one system variable. See the documentation for available variables and additional examples.

maximumSizeMiB
String

Maximum amount of disk space that can be used for storing files from this sink.

Exceptions

name, inputs, baseDirectoryPath, fileNamePattern, or maximumSizeMiB is null.

Applies to