Class OutgoingAudioOptions


  • public final class OutgoingAudioOptions
    extends Object
    Property bag class for Outgoing Audio Options. Use this class to set audio settings required during a call (start/join)
    • Constructor Detail

      • OutgoingAudioOptions

        public OutgoingAudioOptions()
        Creates a new instance with a default configuration
    • Method Detail

      • finalize

        protected void finalize()
        Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
        Overrides:
        finalize in class Object
      • isMuted

        public boolean isMuted()
        Start an outgoing or accept incoming call with microphone muted (true) or un-muted(false)
      • setMuted

        public OutgoingAudioOptions setMuted​(boolean value)
        Start an outgoing or accept incoming call with microphone muted (true) or un-muted(false)
        Parameters:
        value - The new value.
      • getFilters

        public OutgoingAudioFilters getFilters()
        Start an outgoing or accept incoming call with outgoing audio filter features
      • getStream

        public OutgoingAudioStream getStream()
        Outgoing Audio Stream that will be started when the call connects.
      • isCommunicationAudioModeEnabled

        public boolean isCommunicationAudioModeEnabled()
        Enable or disable AudioManager.MODE_IN_COMMUNICATION for a call. Enabled by default unless set to false. https://developer.android.com/reference/android/media/AudioManager#MODE_IN_COMMUNICATION
      • setCommunicationAudioModeEnabled

        public OutgoingAudioOptions setCommunicationAudioModeEnabled​(boolean value)
        Enable or disable AudioManager.MODE_IN_COMMUNICATION for a call. Enabled by default unless set to false. https://developer.android.com/reference/android/media/AudioManager#MODE_IN_COMMUNICATION
        Parameters:
        value - The new value.