Share via


MediaGraphAssetSink Constructor

Definition

Initializes a new instance of MediaGraphAssetSink.

public MediaGraphAssetSink (string name, System.Collections.Generic.IEnumerable<Azure.Media.Analytics.Edge.Models.MediaGraphNodeInput> inputs, string assetNamePattern, string localMediaCachePath, string localMediaCacheMaximumSizeMiB);
new Azure.Media.Analytics.Edge.Models.MediaGraphAssetSink : string * seq<Azure.Media.Analytics.Edge.Models.MediaGraphNodeInput> * string * string * string -> Azure.Media.Analytics.Edge.Models.MediaGraphAssetSink
Public Sub New (name As String, inputs As IEnumerable(Of MediaGraphNodeInput), assetNamePattern As String, localMediaCachePath As String, localMediaCacheMaximumSizeMiB 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.

assetNamePattern
String

A name pattern when creating new assets. The pattern must include at least one system variable. See the documentation for available variables and additional examples.

localMediaCachePath
String

Path to a local file system directory for temporary caching of media before writing to an Asset. Used when the Edge device is temporarily disconnected from Azure.

localMediaCacheMaximumSizeMiB
String

Maximum amount of disk space that can be used for temporary caching of media.

Exceptions

name, inputs, assetNamePattern, localMediaCachePath, or localMediaCacheMaximumSizeMiB is null.

Applies to