VideoSink Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of VideoSink.
public VideoSink (string name, System.Collections.Generic.IEnumerable<Azure.Media.VideoAnalyzer.Edge.Models.NodeInput> inputs, string videoName, string localMediaCachePath, string localMediaCacheMaximumSizeMiB);
new Azure.Media.VideoAnalyzer.Edge.Models.VideoSink : string * seq<Azure.Media.VideoAnalyzer.Edge.Models.NodeInput> * string * string * string -> Azure.Media.VideoAnalyzer.Edge.Models.VideoSink
Public Sub New (name As String, inputs As IEnumerable(Of NodeInput), videoName As String, localMediaCachePath As String, localMediaCacheMaximumSizeMiB As String)
Parameters
- name
- String
Node name. Must be unique within the topology.
- inputs
- IEnumerable<NodeInput>
An array of upstream node references within the topology to be used as inputs for this node.
- videoName
- String
Name of a new or existing Video Analyzer video resource used for the media recording.
- localMediaCachePath
- String
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.
- localMediaCacheMaximumSizeMiB
- String
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.
Exceptions
name
, inputs
, videoName
, localMediaCachePath
or localMediaCacheMaximumSizeMiB
is null.
Applies to
Azure SDK for .NET