共用方式為


MediaGraphFileSink Class

Definition

Enables a media graph to write/store media (video and audio) to a file on the Edge device.

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

Constructors

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

Initializes a new instance of MediaGraphFileSink.

Properties

BaseDirectoryPath

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

FileNamePattern

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.

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)
MaximumSizeMiB

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

Name

The name to be used for the media graph sink.

(Inherited from MediaGraphSink)

Applies to