Package com.amazonaws.ivs.broadcast
Class StageAudioConfiguration
- java.lang.Object
-
- com.amazonaws.ivs.broadcast.StageAudioConfiguration
-
public class StageAudioConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StageAudioConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxBitrate()
void
setMaxBitrate(int maxBitrate)
Sets the maximum bitrate for the publishing audio stream.
-
-
-
Method Detail
-
getMaxBitrate
public int getMaxBitrate()
- Returns:
- The maximum bitrate for the publishing audio stream. By default this is 64k.
-
setMaxBitrate
public void setMaxBitrate(int maxBitrate)
Sets the maximum bitrate for the publishing audio stream. This value must be between 12k and 128k. If the provided bitrate falls outside this range, the bitrate will not be set and anIllegalArgumentException
will be thrown.- Parameters:
maxBitrate
- the desired maximum bitrate- Throws:
java.lang.IllegalArgumentException
- if bitrate is not valid
-
-