LiveKit React Native Client SDK - v3.1.0
    Preparing search index...

    Type Alias AudioConfiguration

    Configuration for the underlying AudioSession.


    Android specific options:

    • preferredOutputList - The preferred order in which to automatically select an audio output. This is ignored when an output is manually selected with AudioSession.selectAudioOutput.

      By default, the order is set to:

      1. `"bluetooth"
      2. `"headset"``
      3. "speaker"
      4. "earpiece"
    • audioTypeOptions - An AndroidAudioTypeOptions object which provides the audio options to use on Android.

      See AndroidAudioTypePresets for pre-configured values.


    iOS

    • defaultOutput - The default preferred output to use when a wired headset or bluetooth output is unavailable.

      By default, this is set to "speaker"

    type AudioConfiguration = {
        android?: {
            audioTypeOptions: AndroidAudioTypeOptions;
            preferredOutputList?: ("speaker" | "earpiece" | "headset" | "bluetooth")[];
        };
        ios?: { defaultOutput?: "speaker"
        | "earpiece" };
    }
    Index

    Properties

    Properties

    android?: {
        audioTypeOptions: AndroidAudioTypeOptions;
        preferredOutputList?: ("speaker" | "earpiece" | "headset" | "bluetooth")[];
    }
    ios?: { defaultOutput?: "speaker" | "earpiece" }