MediaGraphFileSink Class

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

All required parameters must be populated in order to send to Azure.

Inheritance
azure.media.analyticsedge._generated.models._models_py3.MediaGraphSink
MediaGraphFileSink

Constructor

MediaGraphFileSink(*, name: str, inputs: List[azure.media.analyticsedge._generated.models._models_py3.MediaGraphNodeInput], base_directory_path: str, file_name_pattern: str, maximum_size_mi_b: str, **kwargs)

Parameters

type
str
Required

Required. The discriminator for derived types.Constant filled by server.

name
str
Required

Required. The name to be used for the media graph sink.

inputs
list[<xref:azure.media.analyticsedge.models.MediaGraphNodeInput>]
Required

Required. 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.

base_directory_path
str
Required

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

file_name_pattern
str
Required

Required. 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.

maximum_size_mi_b
str
Required

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