Class AudioEncoderBase
- java.lang.Object
-
- com.azure.resourcemanager.videoanalyzer.models.AudioEncoderBase
-
- Direct Known Subclasses:
AudioEncoderAac
public class AudioEncoderBase extends Object
Base type for all audio encoder presets, which define the recipe or instructions on how audio should be processed.
-
-
Constructor Summary
Constructors Constructor Description AudioEncoderBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
bitrateKbps()
Get 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).void
validate()
Validates the instance.AudioEncoderBase
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).
-
-
-
Method Detail
-
bitrateKbps
public String bitrateKbps()
Get 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.- Returns:
- the bitrateKbps value.
-
withBitrateKbps
public AudioEncoderBase 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.- Parameters:
bitrateKbps
- the bitrateKbps value to set.- Returns:
- the AudioEncoderBase object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-