Class FileSink
java.lang.Object
com.azure.media.videoanalyzer.edge.models.SinkNodeBase
com.azure.media.videoanalyzer.edge.models.FileSink
File sink allows for video and audio content to be recorded on the file system on the edge device.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the baseDirectoryPath property: Absolute directory path where media files will be stored.Get the fileNamePattern property: File name pattern for creating new files when performing event based recording.Get the maximumSizeMiB property: Maximum amount of disk space that can be used for storing files from this sink.Methods inherited from class com.azure.media.videoanalyzer.edge.models.SinkNodeBase
getInputs, getName
-
Constructor Details
-
FileSink
public FileSink(String name, List<NodeInput> inputs, String baseDirectoryPath, String fileNamePattern, String maximumSizeMiB) Creates an instance of FileSink class.- Parameters:
name
- the name value to set.inputs
- the inputs value to set.baseDirectoryPath
- the baseDirectoryPath value to set.fileNamePattern
- the fileNamePattern value to set.maximumSizeMiB
- the maximumSizeMiB value to set.
-
-
Method Details
-
getBaseDirectoryPath
Get the baseDirectoryPath property: Absolute directory path where media files will be stored.- Returns:
- the baseDirectoryPath value.
-
getFileNamePattern
Get the fileNamePattern property: File name pattern for creating new files when performing event based recording. The pattern must include at least one system variable.- Returns:
- the fileNamePattern value.
-
getMaximumSizeMiB
Get the maximumSizeMiB property: 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.- Returns:
- the maximumSizeMiB value.
-