Class VideoContentUrls
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.VideoContentUrls
-
public final class VideoContentUrls extends Object
Set of URLs to the video content.
-
-
Constructor Summary
Constructors Constructor Description VideoContentUrls()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
archiveBaseUrl()
Get the archiveBaseUrl property: Video archive streaming base URL.String
downloadUrl()
Get the downloadUrl property: Video file download URL.VideoPreviewImageUrls
previewImageUrls()
Get the previewImageUrls property: Video preview image URLs.String
rtspTunnelUrl()
Get the rtspTunnelUrl property: Video low-latency streaming URL.void
validate()
Validates the instance.VideoContentUrls
withArchiveBaseUrl(String archiveBaseUrl)
Set the archiveBaseUrl property: Video archive streaming base URL.VideoContentUrls
withDownloadUrl(String downloadUrl)
Set the downloadUrl property: Video file download URL.VideoContentUrls
withPreviewImageUrls(VideoPreviewImageUrls previewImageUrls)
Set the previewImageUrls property: Video preview image URLs.VideoContentUrls
withRtspTunnelUrl(String rtspTunnelUrl)
Set the rtspTunnelUrl property: Video low-latency streaming URL.
-
-
-
Method Detail
-
downloadUrl
public String downloadUrl()
Get the downloadUrl property: Video file download URL. This URL can be used in conjunction with the video content authorization token to download the video MP4 file. The resulting MP4 file can be played on any standard media player. It is available when the video type is 'file' and video file is available for consumption.- Returns:
- the downloadUrl value.
-
withDownloadUrl
public VideoContentUrls withDownloadUrl(String downloadUrl)
Set the downloadUrl property: Video file download URL. This URL can be used in conjunction with the video content authorization token to download the video MP4 file. The resulting MP4 file can be played on any standard media player. It is available when the video type is 'file' and video file is available for consumption.- Parameters:
downloadUrl
- the downloadUrl value to set.- Returns:
- the VideoContentUrls object itself.
-
archiveBaseUrl
public String archiveBaseUrl()
Get the archiveBaseUrl property: Video archive streaming base URL. The archived content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token on any compatible DASH or HLS players by appending the following to the base URL:- HLSv4: /manifest(format=m3u8-aapl).m3u8 - HLS CMAF: /manifest(format=m3u8-cmaf) - DASH CMAF: /manifest(format=mpd-time-cmaf)
Moreover, an ongoing video recording can be played in "live mode" with latencies which are approximately double of the chosen video segment length. It is available when the video type is 'archive' and video archiving is enabled.
- Returns:
- the archiveBaseUrl value.
-
withArchiveBaseUrl
public VideoContentUrls withArchiveBaseUrl(String archiveBaseUrl)
Set the archiveBaseUrl property: Video archive streaming base URL. The archived content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token on any compatible DASH or HLS players by appending the following to the base URL:- HLSv4: /manifest(format=m3u8-aapl).m3u8 - HLS CMAF: /manifest(format=m3u8-cmaf) - DASH CMAF: /manifest(format=mpd-time-cmaf)
Moreover, an ongoing video recording can be played in "live mode" with latencies which are approximately double of the chosen video segment length. It is available when the video type is 'archive' and video archiving is enabled.
- Parameters:
archiveBaseUrl
- the archiveBaseUrl value to set.- Returns:
- the VideoContentUrls object itself.
-
rtspTunnelUrl
public String rtspTunnelUrl()
Get the rtspTunnelUrl property: Video low-latency streaming URL. The live content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token to expose a WebSocket tunneled RTSP stream. It is available when the video type is 'archive' and a live, low-latency feed is available from the source.- Returns:
- the rtspTunnelUrl value.
-
withRtspTunnelUrl
public VideoContentUrls withRtspTunnelUrl(String rtspTunnelUrl)
Set the rtspTunnelUrl property: Video low-latency streaming URL. The live content can be automatically played by the Azure Video Analyzer player widget. Alternatively, this URL can be used in conjunction with the video content authorization token to expose a WebSocket tunneled RTSP stream. It is available when the video type is 'archive' and a live, low-latency feed is available from the source.- Parameters:
rtspTunnelUrl
- the rtspTunnelUrl value to set.- Returns:
- the VideoContentUrls object itself.
-
previewImageUrls
public VideoPreviewImageUrls previewImageUrls()
Get the previewImageUrls property: Video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is 'archive' and preview images are enabled.- Returns:
- the previewImageUrls value.
-
withPreviewImageUrls
public VideoContentUrls withPreviewImageUrls(VideoPreviewImageUrls previewImageUrls)
Set the previewImageUrls property: Video preview image URLs. These URLs can be used in conjunction with the video content authorization token to download the most recent still image from the video archive in different resolutions. They are available when the video type is 'archive' and preview images are enabled.- Parameters:
previewImageUrls
- the previewImageUrls value to set.- Returns:
- the VideoContentUrls object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-