FileSink(String, IEnumerable<NodeInput>, String, String, String) 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 FileSink.
public FileSink (string name, System.Collections.Generic.IEnumerable<Azure.Media.VideoAnalyzer.Edge.Models.NodeInput> inputs, string baseDirectoryPath, string fileNamePattern, string maximumSizeMiB);
new Azure.Media.VideoAnalyzer.Edge.Models.FileSink : string * seq<Azure.Media.VideoAnalyzer.Edge.Models.NodeInput> * string * string * string -> Azure.Media.VideoAnalyzer.Edge.Models.FileSink
Public Sub New (name As String, inputs As IEnumerable(Of NodeInput), baseDirectoryPath As String, fileNamePattern As String, maximumSizeMiB 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.
- baseDirectoryPath
- String
Absolute directory path where media files will be stored.
- fileNamePattern
- String
File name pattern for creating new files when performing event based recording. The pattern must include at least one system variable.
- maximumSizeMiB
- String
Maximum amount of disk space that can be used for storing files from this sink. Once this limit is reached, the oldest files from this sink will be automatically deleted.
Exceptions
name
, inputs
, baseDirectoryPath
, fileNamePattern
or maximumSizeMiB
is null.
Applies to
Azure SDK for .NET