MediaGraphAssetSink Class

Definition

Enables a media graph to record media to an Azure Media Services asset for subsequent playback.

public class MediaGraphAssetSink : Azure.Media.Analytics.Edge.Models.MediaGraphSink
type MediaGraphAssetSink = class
    inherit MediaGraphSink
Public Class MediaGraphAssetSink
Inherits MediaGraphSink
Inheritance
MediaGraphAssetSink

Constructors

MediaGraphAssetSink(String, IEnumerable<MediaGraphNodeInput>, String, String, String)

Initializes a new instance of MediaGraphAssetSink.

Properties

AssetNamePattern

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.

Inputs

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.

(Inherited from MediaGraphSink)
LocalMediaCacheMaximumSizeMiB

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

LocalMediaCachePath

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.

Name

The name to be used for the media graph sink.

(Inherited from MediaGraphSink)
SegmentLength

When writing media to an asset, wait until at least this duration of media has been accumulated on the Edge. Expressed in increments of 30 seconds, with a minimum of 30 seconds and a recommended maximum of 5 minutes.

Applies to