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

    Function useIOSAudioManagement

    • Parameters

      Returns void

      Use setupIOSAudioManagement instead. The room parameter is ignored — audio session is now managed via audio engine events, not room track counts.

      The onConfigureNativeAudio callback is also deprecated and unsafe: it runs under a bounded native wait on the audio worker thread. Prefer the default native path, or pass an IOSAudioSessionPolicy to setupIOSAudioManagement.

      Note: the trackState passed to onConfigureNativeAudio is now derived from the audio engine's playout/recording state, not from publication counts. Edge cases can differ. For example, a published-but-muted local audio track that previously yielded localOnly may now appear as remoteOnly or none.