Package com.amazonaws.ivs.broadcast
Class MixedAudioDeviceConfiguration
java.lang.Object
com.amazonaws.ivs.broadcast.MixedAudioDeviceConfiguration
Configuration for a MixedAudioDevice.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintGet the number of channels for the output audio stream.setChannels(int channels) Set the number of audio channels for the output stream. 
- 
Constructor Details
- 
MixedAudioDeviceConfiguration
public MixedAudioDeviceConfiguration() 
 - 
 - 
Method Details
- 
getChannels
public int getChannels()Get the number of channels for the output audio stream.- Returns:
 - The number of channels.
 
 - 
setChannels
Set the number of audio channels for the output stream. Currently this must be 1 or 2, otherwise an exception will be thrown.- Parameters:
 channels- The number of channels for the audio output stream.- Returns:
 - This configuration object for chaining.
 - Throws:
 BroadcastException- If the channels value is not valid.
 
 -