Class AudioEncoderAac
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.AudioEncoderBase
-
- com.azure.resourcemanager.videoanalyzer.models.AudioEncoderAac
-
public final class AudioEncoderAac extends AudioEncoderBase
A custom preset for encoding audio with the AAC codec.
-
-
Constructor Summary
Constructors Constructor Description AudioEncoderAac()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.AudioEncoderAac
withBitrateKbps(String bitrateKbps)
Set the bitrateKbps property: Bitrate, in kilobits per second or Kbps, at which audio should be encoded (2-channel stereo audio at a sampling rate of 48 kHz).-
Methods inherited from class com.azure.resourcemanager.videoanalyzer.models.AudioEncoderBase
bitrateKbps
-
-
-
-
Method Detail
-
withBitrateKbps
public AudioEncoderAac withBitrateKbps(String bitrateKbps)
Set the bitrateKbps property: Bitrate, in kilobits per second or Kbps, at which audio should be encoded (2-channel stereo audio at a sampling rate of 48 kHz). Allowed values are 96, 112, 128, 160, 192, 224, and 256. If omitted, the bitrate of the input audio is used.- Overrides:
withBitrateKbps
in classAudioEncoderBase
- Parameters:
bitrateKbps
- the bitrateKbps value to set.- Returns:
- the AudioEncoderBase object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAudioEncoderBase
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-