你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FileSink(String, IEnumerable<NodeInput>, String, String, String) Constructor

Definition

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