Class VideoCreationProperties
java.lang.Object
com.azure.media.videoanalyzer.edge.models.VideoCreationProperties
Optional video properties to be used in case a new video resource needs to be created on the service. These will not
take effect if the video already exists.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Optional video description provided by the user.Get the retentionPeriod property: Video retention period indicates how long the video is kept in storage, and must be a multiple of 1 day.Get the segmentLength property: Video segment length indicates the length of individual video files (segments) which are persisted to storage.getTitle()
Get the title property: Optional video title provided by the user.setDescription
(String description) Set the description property: Optional video description provided by the user.setRetentionPeriod
(String retentionPeriod) Set the retentionPeriod property: Video retention period indicates how long the video is kept in storage, and must be a multiple of 1 day.setSegmentLength
(String segmentLength) Set the segmentLength property: Video segment length indicates the length of individual video files (segments) which are persisted to storage.Set the title property: Optional video title provided by the user.
-
Constructor Details
-
VideoCreationProperties
public VideoCreationProperties()
-
-
Method Details
-
getTitle
Get the title property: Optional video title provided by the user. Value can be up to 256 characters long.- Returns:
- the title value.
-
setTitle
Set the title property: Optional video title provided by the user. Value can be up to 256 characters long.- Parameters:
title
- the title value to set.- Returns:
- the VideoCreationProperties object itself.
-
getDescription
Get the description property: Optional video description provided by the user. Value can be up to 2048 characters long.- Returns:
- the description value.
-
setDescription
Set the description property: Optional video description provided by the user. Value can be up to 2048 characters long.- Parameters:
description
- the description value to set.- Returns:
- the VideoCreationProperties object itself.
-
getSegmentLength
Get the segmentLength property: Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments. Changing this value after the video is initially created can lead to errors when uploading media to the archive. Default value is 30 seconds.- Returns:
- the segmentLength value.
-
setSegmentLength
Set the segmentLength property: Video segment length indicates the length of individual video files (segments) which are persisted to storage. Smaller segments provide lower archive playback latency but generate larger volume of storage transactions. Larger segments reduce the amount of storage transactions while increasing the archive playback latency. Value must be specified in ISO8601 duration format (i.e. "PT30S" equals 30 seconds) and can vary between 30 seconds to 5 minutes, in 30 seconds increments. Changing this value after the video is initially created can lead to errors when uploading media to the archive. Default value is 30 seconds.- Parameters:
segmentLength
- the segmentLength value to set.- Returns:
- the VideoCreationProperties object itself.
-
getRetentionPeriod
Get the retentionPeriod property: Video retention period indicates how long the video is kept in storage, and must be a multiple of 1 day. For example, if this is set to 30 days, then content older than 30 days will be deleted.- Returns:
- the retentionPeriod value.
-
setRetentionPeriod
Set the retentionPeriod property: Video retention period indicates how long the video is kept in storage, and must be a multiple of 1 day. For example, if this is set to 30 days, then content older than 30 days will be deleted.- Parameters:
retentionPeriod
- the retentionPeriod value to set.- Returns:
- the VideoCreationProperties object itself.
-