Class VideoSink
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.
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Media.VideoAnalyzer.Edge.dll
Syntax
public class VideoSink : Azure.Media.VideoAnalyzer.Edge.Models.SinkNodeBase
Constructors
VideoSink(String, IEnumerable<NodeInput>, String, String, String)
Initializes a new instance of VideoSink.
Declaration
public VideoSink (string name, System.Collections.Generic.IEnumerable<Azure.Media.VideoAnalyzer.Edge.Models.NodeInput> inputs, string videoName, string localMediaCachePath, string localMediaCacheMaximumSizeMiB);
Parameters
System.String
name
Node name. Must be unique within the topology. |
System.Collections.Generic.IEnumerable<NodeInput>
inputs
An array of upstream node references within the topology to be used as inputs for this node. |
System.String
videoName
Name of a new or existing Video Analyzer video resource used for the media recording. |
System.String
localMediaCachePath
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. |
System.String
localMediaCacheMaximumSizeMiB
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
System.ArgumentNullException
|
Properties
LocalMediaCacheMaximumSizeMiB
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.
Declaration
public string LocalMediaCacheMaximumSizeMiB { get; set; }
Property Value
System.String
|
LocalMediaCachePath
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.
Declaration
public string LocalMediaCachePath { get; set; }
Property Value
System.String
|
VideoCreationProperties
Optional video properties to be used in case a new video resource needs to be created on the service.
Declaration
public Azure.Media.VideoAnalyzer.Edge.Models.VideoCreationProperties VideoCreationProperties { get; set; }
Property Value
VideoCreationProperties
|
VideoName
Name of a new or existing Video Analyzer video resource used for the media recording.
Declaration
public string VideoName { get; set; }
Property Value
System.String
|