Package com.amazonaws.ivs.broadcast
Class BroadcastConfiguration.Audio
- java.lang.Object
- 
- com.amazonaws.ivs.broadcast.BroadcastConfiguration.Audio
 
- 
- Enclosing class:
- BroadcastConfiguration
 
 public static class BroadcastConfiguration.Audio extends java.lang.Object
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBitrate()The audio bitrate for the output audio stream.intgetChannels()The number of channels for the output audio stream.voidsetBitrate(int bitrate)Set the bitrate for the audio stream.voidsetChannels(int channels)Set the number of audio channels.
 
- 
- 
- 
Method Detail- 
getBitratepublic int getBitrate() The audio bitrate for the output audio stream. By default this is `96,000`.
 - 
setBitratepublic void setBitrate(int bitrate) Set the bitrate for the audio stream. This must be greater than 64k and less than 160k, otherwise aIllegalArgumentExceptionwill be thrown.- Parameters:
- bitrate- the bitrate
 
 - 
getChannelspublic int getChannels() The number of channels for the output audio stream. By default this is `2`.
 - 
setChannelspublic void setChannels(int channels) Set the number of audio channels. Currently this must be 1 or 2, otherwise anIllegalArgumentExceptionwill be thrown.- Parameters:
- channels- the number of channels
 
 
- 
 
-