Class AudioTrack
java.lang.Object
com.azure.resourcemanager.mediaservices.models.TrackBase
com.azure.resourcemanager.mediaservices.models.AudioTrack
Represents an audio track in the asset.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbitRate()
Get the bitRate property: The stream bit rate for the audio track.Get the dashSettings property: The DASH specific setting for the audio track.Get the displayName property: The display name of the audio track on a video player.fileName()
Get the fileName property: The file name to the source file.Get the hlsSettings property: The HLS specific setting for the audio track.Get the languageCode property: The RFC5646 language code for the audio track.Get the mpeg4TrackId property: The MPEG-4 audio track ID for the audio track.void
validate()
Validates the instance.withDashSettings
(DashSettings dashSettings) Set the dashSettings property: The DASH specific setting for the audio track.withDisplayName
(String displayName) Set the displayName property: The display name of the audio track on a video player.withFileName
(String fileName) Set the fileName property: The file name to the source file.withHlsSettings
(HlsSettings hlsSettings) Set the hlsSettings property: The HLS specific setting for the audio track.withLanguageCode
(String languageCode) Set the languageCode property: The RFC5646 language code for the audio track.withMpeg4TrackId
(Integer mpeg4TrackId) Set the mpeg4TrackId property: The MPEG-4 audio track ID for the audio track.
-
Constructor Details
-
AudioTrack
public AudioTrack()Creates an instance of AudioTrack class.
-
-
Method Details
-
fileName
Get the fileName property: The file name to the source file. This file is located in the storage container of the asset.- Returns:
- the fileName value.
-
withFileName
Set the fileName property: The file name to the source file. This file is located in the storage container of the asset.- Parameters:
fileName
- the fileName value to set.- Returns:
- the AudioTrack object itself.
-
displayName
Get the displayName property: The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name of the audio track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.- Parameters:
displayName
- the displayName value to set.- Returns:
- the AudioTrack object itself.
-
languageCode
Get the languageCode property: The RFC5646 language code for the audio track.- Returns:
- the languageCode value.
-
withLanguageCode
Set the languageCode property: The RFC5646 language code for the audio track.- Parameters:
languageCode
- the languageCode value to set.- Returns:
- the AudioTrack object itself.
-
hlsSettings
Get the hlsSettings property: The HLS specific setting for the audio track.- Returns:
- the hlsSettings value.
-
withHlsSettings
Set the hlsSettings property: The HLS specific setting for the audio track.- Parameters:
hlsSettings
- the hlsSettings value to set.- Returns:
- the AudioTrack object itself.
-
dashSettings
Get the dashSettings property: The DASH specific setting for the audio track.- Returns:
- the dashSettings value.
-
withDashSettings
Set the dashSettings property: The DASH specific setting for the audio track.- Parameters:
dashSettings
- the dashSettings value to set.- Returns:
- the AudioTrack object itself.
-
mpeg4TrackId
Get the mpeg4TrackId property: The MPEG-4 audio track ID for the audio track.- Returns:
- the mpeg4TrackId value.
-
withMpeg4TrackId
Set the mpeg4TrackId property: The MPEG-4 audio track ID for the audio track.- Parameters:
mpeg4TrackId
- the mpeg4TrackId value to set.- Returns:
- the AudioTrack object itself.
-
bitRate
Get the bitRate property: The stream bit rate for the audio track.- Returns:
- the bitRate value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classTrackBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-