Package 

Class AudioSwitchHandler

  • All Implemented Interfaces:
    io.livekit.android.audio.AudioHandler

    @Singleton() 
    public final class AudioSwitchHandler
     implements AudioHandler
                        

    An AudioHandler built on top of AudioSwitch. This handles things such as getting the audio focus as needed, as well as automatic audio output device management.

    The various settings should be set before connecting to a Room and start is called.