MediaGraphAssetSink Class
Enables a media graph to record media to an Azure Media Services asset for subsequent playback.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
azure.media.analyticsedge._generated.models._models_py3.MediaGraphSinkMediaGraphAssetSink
Constructor
MediaGraphAssetSink(*, name: str, inputs: List[azure.media.analyticsedge._generated.models._models_py3.MediaGraphNodeInput], asset_name_pattern: str, local_media_cache_path: str, local_media_cache_maximum_size_mi_b: str, segment_length: Optional[str] = None, **kwargs)
Parameters
- inputs
- list[<xref:azure.media.analyticsedge.models.MediaGraphNodeInput>]
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.
- asset_name_pattern
- str
Required. 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.
- segment_length
- str
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.
- local_media_cache_path
- str
Required. 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.
- local_media_cache_maximum_size_mi_b
- str
Required. Maximum amount of disk space that can be used for temporary caching of media.
Feedback
Submit and view feedback for