Class MixedAudioDeviceConfiguration

java.lang.Object
com.amazonaws.ivs.broadcast.MixedAudioDeviceConfiguration

public class MixedAudioDeviceConfiguration extends Object
Configuration for a MixedAudioDevice.
  • 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

      @NonNull public MixedAudioDeviceConfiguration setChannels(int channels) throws BroadcastException
      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.