public static class

BroadcastConfiguration.Audio

extends Object
java.lang.Object
   ↳ com.amazonaws.ivs.broadcast.BroadcastConfiguration.Audio

Summary

Public Methods
int getBitrate()
void setBitrate(int bitrate)
Set the bitrate for the audio stream.
void setChannels(int channels)
Set the number of audio channels.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public int getBitrate ()

public void setBitrate (int bitrate)

Set the bitrate for the audio stream. This must be greater than 64k and less than 160k, otherwise a IllegalArgumentException will be thrown.

Parameters
bitrate the bitrate

public void setChannels (int channels)

Set the number of audio channels. Currently this must be 1 or 2, otherwise an IllegalArgumentException will be thrown.

Parameters
channels the number of channels