VideoSink Class

Video sink allows for video and audio to be recorded to the Video Analyzer service. The recorded video can be played from anywhere and further managed from the cloud. Due to security reasons, a given Video Analyzer edge module instance can only record content to new video entries, or existing video entries previously recorded by the same module. Any attempt to record content to an existing video which has not been created by the same module instance will result in failure to record.

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

Inheritance
azure.media.videoanalyzeredge._generated.models._models_py3.SinkNodeBase
VideoSink

Constructor

VideoSink(*, name: str, inputs: List[azure.media.videoanalyzeredge._generated.models._models_py3.NodeInput], video_name: str, local_media_cache_path: str, local_media_cache_maximum_size_mi_b: str, video_creation_properties: Optional[azure.media.videoanalyzeredge._generated.models._models_py3.VideoCreationProperties] = None, video_publishing_options: Optional[azure.media.videoanalyzeredge._generated.models._models_py3.VideoPublishingOptions] = None, **kwargs)

Variables

type
str

Required. Type discriminator for the derived types.Constant filled by server.

name
str

Required. Node name. Must be unique within the topology.

inputs
list[<xref:azure.media.videoanalyzer.edge.models.NodeInput>]

Required. An array of upstream node references within the topology to be used as inputs for this node.

video_name
str

Required. Name of a new or existing Video Analyzer video resource used for the media recording.

video_creation_properties
<xref:azure.media.videoanalyzer.edge.models.VideoCreationProperties>

Optional video properties to be used in case a new video resource needs to be created on the service.

video_publishing_options
<xref:azure.media.videoanalyzer.edge.models.VideoPublishingOptions>

Optional video publishing options to be used for changing publishing behavior of the output video.

local_media_cache_path
str

Required. Path to a local file system directory for caching of temporary media files. This will also be used to store content which cannot be immediately uploaded to Azure due to Internet connectivity issues.

local_media_cache_maximum_size_mi_b
str

Required. Maximum amount of disk space that can be used for caching of temporary media files. Once this limit is reached, the oldest segments of the media archive will be continuously deleted in order to make space for new media, thus leading to gaps in the cloud recorded content.