From cf3bb7a9c430b4a2bc2895c5996fe09934b4d6bb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 23 Jul 2026 15:01:35 +0000 Subject: [PATCH] Version Packages --- .changeset/native-default-audio-session.md | 5 --- .changeset/spicy-webs-talk.md | 5 --- CHANGELOG.md | 10 ++++++ docs/assets/navigation.js | 2 +- docs/assets/search.js | 2 +- docs/classes/AudioSession.html | 18 +++++------ docs/classes/RNE2EEManager.html | 4 +-- docs/classes/RNKeyProvider.html | 8 ++--- docs/functions/BarVisualizer.html | 4 +-- docs/functions/LiveKitRoom.html | 4 +-- docs/functions/VideoView.html | 4 +-- ...DefaultAppleAudioConfigurationForMode.html | 4 +-- docs/functions/registerGlobals.html | 4 +-- docs/functions/setLogLevel.html | 4 +-- docs/functions/setupIOSAudioManagement.html | 31 ++++++++++++++++--- docs/functions/sortParticipants.html | 4 +-- docs/functions/useBarAnimator.html | 2 +- docs/functions/useIOSAudioManagement.html | 11 ++++--- docs/functions/useMultibandTrackVolume.html | 4 +-- docs/functions/useParticipant.html | 4 +-- docs/functions/useRNE2EEManager.html | 2 +- docs/functions/useRoom.html | 4 +-- docs/functions/useTrackVolume.html | 4 +-- docs/hierarchy.html | 2 +- docs/index.html | 10 +++--- docs/interfaces/BarVisualizerProps.html | 8 ++--- docs/interfaces/LiveKitRoomProps.html | 20 ++++++------ .../MultiBandTrackVolumeOptions.html | 12 +++---- docs/interfaces/ParticipantState.html | 6 ++-- docs/interfaces/RNE2EEManagerState.html | 4 +-- docs/interfaces/RegisterGlobalsOptions.html | 4 +-- docs/interfaces/RoomOptions.html | 4 +-- docs/interfaces/RoomState.html | 4 +-- docs/modules.html | 2 +- docs/types/AndroidAudioTypeOptions.html | 16 +++++----- docs/types/AppleAudioCategory.html | 2 +- docs/types/AppleAudioCategoryOption.html | 2 +- docs/types/AppleAudioConfiguration.html | 4 +-- docs/types/AppleAudioMode.html | 2 +- docs/types/AudioConfiguration.html | 6 ++-- docs/types/AudioEngineConfigurationState.html | 4 +-- docs/types/AudioTrackState.html | 12 +++---- docs/types/BarVisualizerOptions.html | 8 ++--- docs/types/IOSAudioSessionPolicy.html | 7 +++++ docs/types/LogLevel.html | 2 +- docs/types/OnConfigureNativeAudio.html | 3 ++ docs/types/Props.html | 6 ++-- docs/types/RNKeyProviderOptions.html | 4 +-- docs/types/SetLogLevelOptions.html | 4 +-- docs/types/UseRNE2EEManagerOptions.html | 4 +-- docs/types/VideoTrackProps.html | 16 +++++----- docs/variables/AndroidAudioTypePresets.html | 4 +-- docs/variables/VideoTrack.html | 4 +-- docs/variables/log.html | 2 +- package.json | 2 +- 55 files changed, 184 insertions(+), 150 deletions(-) delete mode 100644 .changeset/native-default-audio-session.md delete mode 100644 .changeset/spicy-webs-talk.md create mode 100644 docs/types/IOSAudioSessionPolicy.html create mode 100644 docs/types/OnConfigureNativeAudio.html diff --git a/.changeset/native-default-audio-session.md b/.changeset/native-default-audio-session.md deleted file mode 100644 index 11cff52f..00000000 --- a/.changeset/native-default-audio-session.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@livekit/react-native': minor ---- - -Configure the iOS audio session natively in the default path, removing the audio engine's JS round trip and its deadlock window. Deprecate the unsafe `onConfigureNativeAudio` callback form of `setupIOSAudioManagement`. Developers can instead pass in a static `IOSAudioSessionPolicy`. diff --git a/.changeset/spicy-webs-talk.md b/.changeset/spicy-webs-talk.md deleted file mode 100644 index 3623c682..00000000 --- a/.changeset/spicy-webs-talk.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@livekit/react-native': patch ---- - -Update @livekit/react-native-webrtc to 144.1.2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 68c16320..40d21bf3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # @livekit/react-native +## 2.12.0 + +### Minor Changes + +- Configure the iOS audio session natively in the default path, removing the audio engine's JS round trip and its deadlock window. Deprecate the unsafe `onConfigureNativeAudio` callback form of `setupIOSAudioManagement`. Developers can instead pass in a static `IOSAudioSessionPolicy`. - [#434](https://github.com/livekit/client-sdk-react-native/pull/434) ([@hiroshihorie](https://github.com/hiroshihorie)) + +### Patch Changes + +- Update @livekit/react-native-webrtc to 144.1.2 - [#434](https://github.com/livekit/client-sdk-react-native/pull/434) ([@hiroshihorie](https://github.com/hiroshihorie)) + ## 2.11.1 ### Patch Changes diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 3aedfcaa..2eb1d7d7 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "eJydl01z0zAQhv+LzhlKAy2QWwKBYZrQTFNyYTgo9sbVVJY80joQGP47E7upJVkfTq/ed5/dlXfX8o+/BOE3kgmZ1jmTa9CaSUFGpKL4QCYk41Rr0Bem9dUDlpyMyCMTOZlcjt//Gz1T7r7Nx/P5kgpagOpjLHOccwOHlZJ7lvs5hjnGmVG1YbqmnP0BtVKy0h2MCQS1oxnoi77Mho6vrg3ogu3hhuGdlGUY6YpiwGXNkc2oyO8VzR43ktcl3FbIpPCzI/pYmBVVyDJWUYFrpAhetivqAUftWyATkkOlIKMIOTFfHRRMI6gvXG4p17E6/NJYCVYDhYvoy6JQKctomp09hYmkdLLGEFORK8nyZtruD1W/CfBQHafRL3PIrz+8u7wam/Sq4tA4faQIhVSHHrinOJ/ZJpMmt7oz+FLsWFErmsCbsuH0pcwhDD1ak6x0kufnd/SYi4IJsPycNjPwIfGgSM06CbM7s5eWWgzWkg10tk+TSn0hiwXsgbus0/OUv7PDW2ffzh5WpvVtCpTp06TSXAOeKgpQ+4oU87sGa1UGwAFZir5hObRN4z1ix5zsUGfprRRoQIO6p4rRLffsxyepHeGNCeey8IG4LCJOXQE+384aQVj93lF2tciaI7YHwgZdvzVABeAn2NGaY2AVfpbK3nFdjKG+bvjUJBhXIF9YwxwpTNl3BB/IkURgupsQH8gwxyF19fV23X4ZmokoQWAA6JPG4FKhcQXz1utqIrhaw4yqqWAlReltMFsRRw0r2is8t3dqDc0td2vfcgPxfNJ4Kcb5BZiG4gXJB36ErAiRvyE33dAMPZlekGD6UIedZbPmNgx++SjPxmEJ/vwPEZoGVQ==" \ No newline at end of file +window.navigationData = "eJydl01z2jAQhv+LzkzT0CZtuUFLO51AwoSES6cHYS+OJrLkkWRa2ul/74BDLMkryXBlXz37od21+PGXGPhtyIiM65zJJWjNpCADUlHzREYk41Rr0Be29c2TKTkZkGcmcjK6HH78N3il3N9Oh9PpnApagOpiHHOccwO7hZJbluMcyxzjTKhaMV1Tzv6AWihZ6RbGhAG1oRnoi67MhQ6vri3ojG3hhpl7Kcsw0hfFgPOaGzahIn9QNHteSV6XcFcZJgXOjuhjbhZUGZaxigqzNNQAyvZFHeCguQUyIjlUCjJqICf21UHBtAH1jcs15TqWBy6NpeA0UDiJriwKlbKMhtnaU5hISEdrDDEWuZIsP0zbw67qNoHZVftpxGUe+e2nD5dXQ5teVRwOhz5TA4VUuw64ozid2QSTJje6E/hSbFhRK5rA27L+9LnMIQzdW5OsdJCnx7c/MRUFE+Cc89rMwofEvTwd1kmY3ZpRWmoxOEs20NmYJhX697ul/XlaSM6yTmejohR5JosZbIH7sOPvqfN34ngRcEsN2zbN5NNw1Vkl9j5HDR/7/PTDOZ/ZwI1hmlRdlmCOJQxQu4oU81GDs/UD4IAsRV+xHJr+R0vsmZPD5u3vhQINxqJuqWJ0zZFV/yJ1Pbyz4VwWGIjLInKoTQA721ojCGd0W8qmFtmhxO5su6Dr9xaoAPMFNrTmJrDVv0rlruvWR9+zvvvUJFivOcytZY4kptznDgbyJBGYbicEA1nmOKSujquxmYgShAkAMWkMLpWxXpNovr4mgqs1TKgaC1ZSI9EGcxVxVL+kUeGpvVNrODzY1+6DPeAPk8ZTseoXYFqKM4IP/KdzPET+2PnhhmboxXRGgOmi9qvlYc2tGPzCKK/GfgH+/A9PjEvK" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index f5ce404b..8355a255 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "eJy1nd1z2zYSwP8X+VWTEvym39I0uXaaXn3JNffgyXRoCpZ5lkiVpJy4mfzvNwD4sQAW0lL0PSVjcT8A/rAAd0Hw26qpv7Sr69tvq8ey2qyumZ+uV1W+56vr1evjpqw/8rYt62q1Xh2b3ep6VezytuXtD/DHVw/dfrdaD7+trler7+tBY8T8UWNRV23XHIuubs4rvNKvBsrXq0Pe8KozfZyM+l6YQqv35fbYcHkxzbASyHuBy21veScv+/3YHY5dSzC+5Z00W48Sl1tv+Y4X0AGCfSUDXFjoQff6cNiprn/T92vekYi6anmXC2HpTGEIL/LpJ36fH3fdB76vO+Xbv5u8ePxU7457TvNso1Q0UoX0sBMqngYVC/x7qL/I6z7Ux47flMUjpwwXISb9aITYYRBb4EeXN928IHAlZaQX7SizxIP6MNuB+rDEPgyAH/751n/79re8yrfIHdB+fZEQaGskxUDdTdCVsc/CcLRctj/lXf7mIa8qvntbFc3zQQylt1V+t+MbijNlu8m7vFAa+KiBjxoW+jfLlYutQsD6RoiOoVjtL9+oyxfYfcirzY73N4FvqPaVGB/ElvvR8u4mb7qyKA951b0Rautmxm1oeXeY5Asl/yJ3puXdx/L+301e7khjT7jSlvfdKLDM9vFAtCkvXGrrbbUtK3vecVnkw+Xz7Oqh7Vf+fNPUT+UG7V7w6wuFNlMjMbRBNx1duCnbQ91i3WfZnC5dYG/Lu/d5x9vuV/78S7XhXymWt7zbSaFH/lz2Qgt8aPKueODCA4rx/upHefVyqx8f8oZv5tlupcxiD1pym9sXaG87s63tS7bzZPhDTVPCn8N2FI+mf8ybT2V7zHfl37y5aerD9NRSVh1v7vOCtz/YV52ME8zzp5n+Lm/e1Meqm6H36i5vil4GbxritsN8LVctc1p1NYksNd52ecfnmB4Elht+3s00rASWGpaPRR/4/RzbUqaRMheYhzS/L5/4r2X3oa73TpbNa+gk51pG4ZzKq9P5BMtVh9GiripeoKMHNzsJvIjh393j56T9c4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MHdnSt+TuroPjxheHpkJv8PNu9gh/Hz1+wDZU4a+L8vFrtyJjdxXXN9++fHjf8vkvb4="; \ No newline at end of file diff --git a/docs/classes/AudioSession.html b/docs/classes/AudioSession.html index 9ddd047f..be549477 100644 --- a/docs/classes/AudioSession.html +++ b/docs/classes/AudioSession.html @@ -1,4 +1,4 @@ -AudioSession | LiveKit React Native Client SDK - v2.11.1
LiveKit React Native Client SDK - v2.11.1
    Preparing search index...

    Class AudioSession

    Index

    Constructors

    constructor +AudioSession | LiveKit React Native Client SDK - v2.12.0

    Class AudioSession

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Applies the provided audio configuration to the underlying AudioSession.

      Must be called prior to connecting to a Room for the configuration to apply correctly.

      See also setupIOSAudioManagement for automatic configuration of iOS audio options.

      -

      Parameters

      Returns Promise<void>

    • Gets the available audio outputs for use with selectAudioOutput.

      startAudioSession must be called prior to using this method.

      For Android, will return if available:

        @@ -30,18 +30,18 @@ or use a library like react-native-avroutepicker for a native platform control.

      Returns Promise<string[]>

      the available audio output types

      -
    • Select the provided audio output if available.

      +
    • Directly change the AVAudioSession category/mode.

      +

    Returns Promise<void>

    • Set default audio track volume when new tracks are subscribed. +

    Returns Promise<void>

    Returns Promise<void>

    +

    Returns Promise<void>

    diff --git a/docs/classes/RNE2EEManager.html b/docs/classes/RNE2EEManager.html index e0f6a87f..3474aab2 100644 --- a/docs/classes/RNE2EEManager.html +++ b/docs/classes/RNE2EEManager.html @@ -1,4 +1,4 @@ -RNE2EEManager | LiveKit React Native Client SDK - v2.11.1
    LiveKit React Native Client SDK - v2.11.1
      Preparing search index...

      Class RNE2EEManagerExperimental

      Hierarchy

      • TypedEventEmitter<E2EEManagerCallbacks, this>
        • RNE2EEManager

      Implements

      • BaseE2EEManager
      Index

      Constructors

      constructor +RNE2EEManager | LiveKit React Native Client SDK - v2.12.0

      Class RNE2EEManagerExperimental

      Hierarchy

      • TypedEventEmitter<E2EEManagerCallbacks, this>
        • RNE2EEManager

      Implements

      • BaseE2EEManager
      Index

      Constructors

      Accessors

      • get isDataChannelEncryptionEnabled(): boolean
        Experimental

        Returns boolean

      • set isDataChannelEncryptionEnabled(value: boolean): void
        Experimental

        Parameters

        • value: boolean

        Returns void

      • get isEnabled(): boolean
        Experimental

        Returns boolean

      Methods

      • Experimental

        Parameters

        • data: Uint8Array

        Returns Promise<{}>

      • Experimental

        Parameters

        • payload: Uint8Array
        • iv: Uint8Array
        • participantIdentity: string
        • keyIndex: number

        Returns Promise<{}>

      • Experimental

        Parameters

        • enabled: boolean
        • participantIdentity: string

        Returns void

      • Experimental

        Parameters

        • trailer: Uint8Array

        Returns void

      • Experimental

        Parameters

        • room: Room

        Returns void

      • Experimental

        Parameters

        • _engine: RTCEngine

        Returns void

      +

      Constructors

      Accessors

      • get isDataChannelEncryptionEnabled(): boolean
        Experimental

        Returns boolean

      • set isDataChannelEncryptionEnabled(value: boolean): void
        Experimental

        Parameters

        • value: boolean

        Returns void

      • get isEnabled(): boolean
        Experimental

        Returns boolean

      Methods

      • Experimental

        Parameters

        • data: Uint8Array

        Returns Promise<{}>

      • Experimental

        Parameters

        • payload: Uint8Array
        • iv: Uint8Array
        • participantIdentity: string
        • keyIndex: number

        Returns Promise<{}>

      • Experimental

        Parameters

        • enabled: boolean
        • participantIdentity: string

        Returns void

      • Experimental

        Parameters

        • trailer: Uint8Array

        Returns void

      • Experimental

        Parameters

        • room: Room

        Returns void

      • Experimental

        Parameters

        • _engine: RTCEngine

        Returns void

      diff --git a/docs/classes/RNKeyProvider.html b/docs/classes/RNKeyProvider.html index 8945e043..ee61c5e7 100644 --- a/docs/classes/RNKeyProvider.html +++ b/docs/classes/RNKeyProvider.html @@ -1,4 +1,4 @@ -RNKeyProvider | LiveKit React Native Client SDK - v2.11.1
      LiveKit React Native Client SDK - v2.11.1
        Preparing search index...

        Class RNKeyProviderExperimental

        Hierarchy

        • BaseKeyProvider
          • RNKeyProvider
        Index

        Constructors

        constructor +RNKeyProvider | LiveKit React Native Client SDK - v2.12.0

        Class RNKeyProviderExperimental

        Hierarchy

        • BaseKeyProvider
          • RNKeyProvider
        Index

        Constructors

        Methods

        • Experimental

          Parameters

          • participantId: string

          Returns number

        • Experimental

          Parameters

          • OptionalparticipantIdentity: string
          • OptionalkeyIndex: number

          Returns Promise<void>

        • Experimental

          Parameters

          • OptionalkeyIndex: number

          Returns Promise<void>

        • Experimental

          Accepts a passphrase that's used to create the crypto keys for a participant's stream.

          -

          Parameters

          • participantId: string
          • key: string | Uint8Array<ArrayBufferLike>
          • OptionalkeyIndex: number

          Returns Promise<any>

        • Experimental

          Accepts a passphrase that's used to create the crypto keys.

          -

          Parameters

          • key: string | Uint8Array<ArrayBufferLike>
          • OptionalkeyIndex: number

          Returns Promise<any>

        • Experimental

          Parameters

          • trailer: Uint8Array

          Returns Promise<any>

        +

        Constructors

        Methods

        • Experimental

          Parameters

          • participantId: string

          Returns number

        • Experimental

          Parameters

          • OptionalparticipantIdentity: string
          • OptionalkeyIndex: number

          Returns Promise<void>

        • Experimental

          Parameters

          • OptionalkeyIndex: number

          Returns Promise<void>

        • Experimental

          Accepts a passphrase that's used to create the crypto keys for a participant's stream.

          +

          Parameters

          • participantId: string
          • key: string | Uint8Array<ArrayBufferLike>
          • OptionalkeyIndex: number

          Returns Promise<any>

        • Experimental

          Accepts a passphrase that's used to create the crypto keys.

          +

          Parameters

          • key: string | Uint8Array<ArrayBufferLike>
          • OptionalkeyIndex: number

          Returns Promise<any>

        • Experimental

          Parameters

          • trailer: Uint8Array

          Returns Promise<any>

        diff --git a/docs/functions/BarVisualizer.html b/docs/functions/BarVisualizer.html index bd0a246b..cb5429d5 100644 --- a/docs/functions/BarVisualizer.html +++ b/docs/functions/BarVisualizer.html @@ -1,7 +1,7 @@ -BarVisualizer | LiveKit React Native Client SDK - v2.11.1
        LiveKit React Native Client SDK - v2.11.1
          Preparing search index...

          Function BarVisualizer

          Visualizes audio signals from a TrackReference as bars. +BarVisualizer | LiveKit React Native Client SDK - v2.12.0

          Function BarVisualizer

          Visualizes audio signals from a TrackReference as bars. If the state prop is set, it automatically transitions between VoiceAssistant states.

          For VoiceAssistant state transitions this component requires a voice assistant agent running with livekit-agents >= 0.9.0

          function SimpleVoiceAssistant() {
          const { state, audioTrack } = useVoiceAssistant();
          return (
          <BarVisualizer
          state={state}
          trackRef={audioTrack}
          />
          );
          }
          -
          +
          diff --git a/docs/functions/LiveKitRoom.html b/docs/functions/LiveKitRoom.html index 9a7aac51..3f71e421 100644 --- a/docs/functions/LiveKitRoom.html +++ b/docs/functions/LiveKitRoom.html @@ -1,7 +1,7 @@ -LiveKitRoom | LiveKit React Native Client SDK - v2.11.1
          LiveKit React Native Client SDK - v2.11.1
            Preparing search index...

            Function LiveKitRoom

            • The LiveKitRoom component provides the room context to all its child components. +LiveKitRoom | LiveKit React Native Client SDK - v2.12.0

              Function LiveKitRoom

              • The LiveKitRoom component provides the room context to all its child components. It is generally the starting point of your LiveKit app and the root of the LiveKit component tree. It provides the room state as a React context to all child components, so you don't have to pass it yourself.

                Parameters

                Returns Element

                <LiveKitRoom
                token='<livekit-token>'
                serverUrl='<url-to-livekit-server>'
                connect={true}
                >
                ...
                </LiveKitRoom>
                -
              +
            diff --git a/docs/functions/VideoView.html b/docs/functions/VideoView.html index 8fcfaa29..34e7cb3f 100644 --- a/docs/functions/VideoView.html +++ b/docs/functions/VideoView.html @@ -1,2 +1,2 @@ -VideoView | LiveKit React Native Client SDK - v2.11.1
            LiveKit React Native Client SDK - v2.11.1
              Preparing search index...

              Function VideoView

              • Parameters

                Returns Element

                use VideoTrack and VideoTrackProps instead.

                -
              +VideoView | LiveKit React Native Client SDK - v2.12.0
              LiveKit React Native Client SDK - v2.12.0
                Preparing search index...

                Function VideoView

                • Parameters

                  Returns Element

                  use VideoTrack and VideoTrackProps instead.

                  +
                diff --git a/docs/functions/getDefaultAppleAudioConfigurationForMode.html b/docs/functions/getDefaultAppleAudioConfigurationForMode.html index 03c82fbc..7197584d 100644 --- a/docs/functions/getDefaultAppleAudioConfigurationForMode.html +++ b/docs/functions/getDefaultAppleAudioConfigurationForMode.html @@ -1,5 +1,5 @@ -getDefaultAppleAudioConfigurationForMode | LiveKit React Native Client SDK - v2.11.1
                LiveKit React Native Client SDK - v2.11.1
                  Preparing search index...

                  Function getDefaultAppleAudioConfigurationForMode

                  diff --git a/docs/functions/registerGlobals.html b/docs/functions/registerGlobals.html index 395af792..98607628 100644 --- a/docs/functions/registerGlobals.html +++ b/docs/functions/registerGlobals.html @@ -1,4 +1,4 @@ -registerGlobals | LiveKit React Native Client SDK - v2.11.1
                  LiveKit React Native Client SDK - v2.11.1
                    Preparing search index...

                    Function registerGlobals

                    Returns void

                    diff --git a/docs/functions/setLogLevel.html b/docs/functions/setLogLevel.html index 10751bac..14be6942 100644 --- a/docs/functions/setLogLevel.html +++ b/docs/functions/setLogLevel.html @@ -1,3 +1,3 @@ -setLogLevel | LiveKit React Native Client SDK - v2.11.1
                    LiveKit React Native Client SDK - v2.11.1
                      Preparing search index...

                      Function setLogLevel

                      • Set the log level for both the @livekit/react-native package and the @livekit-client package. +setLogLevel | LiveKit React Native Client SDK - v2.12.0

                        Function setLogLevel

                        • Set the log level for both the @livekit/react-native package and the @livekit-client package. To set the @livekit-client log independently, use the liveKitClientLogLevel prop on the options object.

                          -

                          Parameters

                          • level: "trace" | "debug" | "info" | "warn" | "error" | "silent" | LogLevel
                          • options: SetLogLevelOptions = {}

                          Returns void

                        +

                        Parameters

                        • level: "trace" | "debug" | "info" | "warn" | "error" | "silent" | LogLevel
                        • options: SetLogLevelOptions = {}

                        Returns void

                      diff --git a/docs/functions/setupIOSAudioManagement.html b/docs/functions/setupIOSAudioManagement.html index 0d3ed927..0e08de1c 100644 --- a/docs/functions/setupIOSAudioManagement.html +++ b/docs/functions/setupIOSAudioManagement.html @@ -1,8 +1,29 @@ -setupIOSAudioManagement | LiveKit React Native Client SDK - v2.11.1
                      LiveKit React Native Client SDK - v2.11.1
                        Preparing search index...

                        Function setupIOSAudioManagement

                        • Sets up automatic iOS audio session management based on audio engine state.

                          +setupIOSAudioManagement | LiveKit React Native Client SDK - v2.12.0

                          Function setupIOSAudioManagement

                          • Sets up automatic iOS audio session management based on audio engine state.

                            Call this once at app startup (e.g. in index.js). registerGlobals() invokes it for you by default unless autoConfigureAudioSession: false is passed.

                            -

                            Parameters

                            • preferSpeakerOutput: boolean = true

                              Whether to prefer speaker output. Defaults to true.

                              -
                            • OptionalonConfigureNativeAudio: (configurationState: AudioEngineConfigurationState) => AppleAudioConfiguration

                              Optional custom callback for determining audio configuration.

                              -

                            Returns () => void

                            A cleanup function that removes the event handlers.

                            -
                          +

                          By default the audio session is configured and activated natively as the +audio engine changes state, with no JavaScript involvement per transition.

                          +

                          For custom categories/modes, pass a static IOSAudioSessionPolicy. +That policy is pushed to native once and applied on the audio worker thread.

                          +

                          Calling this again replaces the previous setup, including switching +between the default and custom paths. Switch while disconnected; a switch +during an active call is unsupported. In particular, switching away from a +custom callback setup mid-call abandons the audio session activation that +the custom handlers took, so the session may stay active after the call ends.

                          +

                          Parameters

                          • OptionalpreferSpeakerOutput: boolean

                            Whether to prefer speaker output. Defaults to true.

                            +

                          Returns () => void

                          A cleanup function that removes the installed handlers or native +configuration. A cleanup function from a superseded setup is a no-op.

                          +
                        • Sets up automatic iOS audio session management with a static native policy.

                          +

                          Parameters

                          • preferSpeakerOutput: boolean

                            Unused when a full policy is provided; kept for +call-site consistency with the default overload.

                            +
                          • policy: IOSAudioSessionPolicy

                            Static recording/playout configuration applied natively.

                            +

                          Returns () => void

                          setupIOSAudioManagement for the default native path and usage notes.

                          +
                        • Parameters

                          Returns () => void

                          The onConfigureNativeAudio callback is unsafe. It runs inside +the audio engine's lifecycle callbacks while native code waits for the +result (bounded at a few seconds). The callback must return quickly and +must not call APIs that enter the WebRTC engine or a peer connection +(for example addTransceiver, getUserMedia, or device enumeration): +those can block on the same engine operation the callback is holding up. +Prefer the default native path, or pass an IOSAudioSessionPolicy.

                          +
                        diff --git a/docs/functions/sortParticipants.html b/docs/functions/sortParticipants.html index a6574905..42ae456f 100644 --- a/docs/functions/sortParticipants.html +++ b/docs/functions/sortParticipants.html @@ -1,4 +1,4 @@ -sortParticipants | LiveKit React Native Client SDK - v2.11.1
                        LiveKit React Native Client SDK - v2.11.1
                          Preparing search index...

                          Function sortParticipants

                          • Default sort for participants, it'll order participants by:

                            +sortParticipants | LiveKit React Native Client SDK - v2.12.0

                            Function sortParticipants

                            • Default sort for participants, it'll order participants by:

                              1. dominant speaker (speaker with the loudest audio level)
                              2. local participant
                              3. @@ -6,4 +6,4 @@
                              4. participants with video on
                              5. by joinedAt
                              -

                              Parameters

                              • participants: Participant[]
                              • OptionallocalParticipant: LocalParticipant

                              Returns void

                            +

                            Parameters

                            • participants: Participant[]
                            • OptionallocalParticipant: LocalParticipant

                            Returns void

                          diff --git a/docs/functions/useBarAnimator.html b/docs/functions/useBarAnimator.html index 5dca62dd..97c48ad9 100644 --- a/docs/functions/useBarAnimator.html +++ b/docs/functions/useBarAnimator.html @@ -1 +1 @@ -useBarAnimator | LiveKit React Native Client SDK - v2.11.1
                          LiveKit React Native Client SDK - v2.11.1
                            Preparing search index...

                            Function useBarAnimator

                            • Parameters

                              • state: AgentState | undefined
                              • columns: number
                              • interval: number

                              Returns number[]

                            +useBarAnimator | LiveKit React Native Client SDK - v2.12.0
                            LiveKit React Native Client SDK - v2.12.0
                              Preparing search index...

                              Function useBarAnimator

                              • Parameters

                                • state: AgentState | undefined
                                • columns: number
                                • interval: number

                                Returns number[]

                              diff --git a/docs/functions/useIOSAudioManagement.html b/docs/functions/useIOSAudioManagement.html index 170d6416..61f37f40 100644 --- a/docs/functions/useIOSAudioManagement.html +++ b/docs/functions/useIOSAudioManagement.html @@ -1,10 +1,13 @@ -useIOSAudioManagement | LiveKit React Native Client SDK - v2.11.1
                              LiveKit React Native Client SDK - v2.11.1
                                Preparing search index...

                                Function useIOSAudioManagement

                                • Parameters

                                  Returns void

                                  Use setupIOSAudioManagement instead. +useIOSAudioManagement | LiveKit React Native Client SDK - v2.12.0

                                  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. Callers with -nuanced per-state logic should migrate to setupIOSAudioManagement.

                                    -
                                  +localOnly may now appear as remoteOnly or none.

                                  +
                                diff --git a/docs/functions/useMultibandTrackVolume.html b/docs/functions/useMultibandTrackVolume.html index a990a1bb..55b9e5d9 100644 --- a/docs/functions/useMultibandTrackVolume.html +++ b/docs/functions/useMultibandTrackVolume.html @@ -1,3 +1,3 @@ -useMultibandTrackVolume | LiveKit React Native Client SDK - v2.11.1
                                LiveKit React Native Client SDK - v2.11.1
                                  Preparing search index...

                                  Function useMultibandTrackVolume

                                  • A hook for tracking the volume of an audio track across multiple frequency bands.

                                    +useMultibandTrackVolume | LiveKit React Native Client SDK - v2.12.0

                                    Function useMultibandTrackVolume

                                    • A hook for tracking the volume of an audio track across multiple frequency bands.

                                      Parameters

                                      • OptionaltrackOrTrackReference: LocalAudioTrack | RemoteAudioTrack | TrackReferenceOrPlaceholder
                                      • Optionaloptions: MultiBandTrackVolumeOptions

                                      Returns number[]

                                      A number array containing the volume for each frequency band.

                                      -
                                    +
                                  diff --git a/docs/functions/useParticipant.html b/docs/functions/useParticipant.html index 07b6101d..521dc000 100644 --- a/docs/functions/useParticipant.html +++ b/docs/functions/useParticipant.html @@ -1,2 +1,2 @@ -useParticipant | LiveKit React Native Client SDK - v2.11.1
                                  LiveKit React Native Client SDK - v2.11.1
                                    Preparing search index...

                                    Function useParticipant

                                    +useParticipant | LiveKit React Native Client SDK - v2.12.0
                                    LiveKit React Native Client SDK - v2.12.0
                                      Preparing search index...

                                      Function useParticipant

                                      diff --git a/docs/functions/useRNE2EEManager.html b/docs/functions/useRNE2EEManager.html index c6ac3c59..463acb19 100644 --- a/docs/functions/useRNE2EEManager.html +++ b/docs/functions/useRNE2EEManager.html @@ -1 +1 @@ -useRNE2EEManager | LiveKit React Native Client SDK - v2.11.1
                                      LiveKit React Native Client SDK - v2.11.1
                                        Preparing search index...

                                        Function useRNE2EEManager

                                        +useRNE2EEManager | LiveKit React Native Client SDK - v2.12.0
                                        LiveKit React Native Client SDK - v2.12.0
                                          Preparing search index...

                                          Function useRNE2EEManager

                                          diff --git a/docs/functions/useRoom.html b/docs/functions/useRoom.html index b11908ae..b7e55894 100644 --- a/docs/functions/useRoom.html +++ b/docs/functions/useRoom.html @@ -1,2 +1,2 @@ -useRoom | LiveKit React Native Client SDK - v2.11.1
                                          LiveKit React Native Client SDK - v2.11.1
                                            Preparing search index...

                                            Function useRoom

                                            +useRoom | LiveKit React Native Client SDK - v2.12.0
                                            LiveKit React Native Client SDK - v2.12.0
                                              Preparing search index...

                                              Function useRoom

                                              diff --git a/docs/functions/useTrackVolume.html b/docs/functions/useTrackVolume.html index 50e1255f..f4d360fa 100644 --- a/docs/functions/useTrackVolume.html +++ b/docs/functions/useTrackVolume.html @@ -1,3 +1,3 @@ -useTrackVolume | LiveKit React Native Client SDK - v2.11.1
                                              LiveKit React Native Client SDK - v2.11.1
                                                Preparing search index...

                                                Function useTrackVolume

                                                • A hook for tracking the volume of an audio track.

                                                  +useTrackVolume | LiveKit React Native Client SDK - v2.12.0

                                                  Function useTrackVolume

                                                  • A hook for tracking the volume of an audio track.

                                                    Parameters

                                                    • OptionaltrackOrTrackReference: LocalAudioTrack | RemoteAudioTrack | TrackReferenceOrPlaceholder

                                                    Returns number

                                                    A number between 0-1 representing the volume.

                                                    -
                                                  +
                                                diff --git a/docs/hierarchy.html b/docs/hierarchy.html index dbf2324f..80358d0c 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -LiveKit React Native Client SDK - v2.11.1
                                                LiveKit React Native Client SDK - v2.11.1
                                                  Preparing search index...

                                                  LiveKit React Native Client SDK - v2.11.1

                                                  Hierarchy Summary

                                                  +LiveKit React Native Client SDK - v2.12.0
                                                  LiveKit React Native Client SDK - v2.12.0
                                                    Preparing search index...

                                                    LiveKit React Native Client SDK - v2.12.0

                                                    Hierarchy Summary

                                                    diff --git a/docs/index.html b/docs/index.html index f7356af3..4484d694 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -LiveKit React Native Client SDK - v2.11.1
                                                    LiveKit React Native Client SDK - v2.11.1
                                                      Preparing search index...

                                                      LiveKit React Native Client SDK - v2.11.1

                                                      +LiveKit React Native Client SDK - v2.12.0
                                                      +
                                                      diff --git a/docs/interfaces/BarVisualizerProps.html b/docs/interfaces/BarVisualizerProps.html index 378ceeda..142f90f3 100644 --- a/docs/interfaces/BarVisualizerProps.html +++ b/docs/interfaces/BarVisualizerProps.html @@ -1,9 +1,9 @@ -BarVisualizerProps | LiveKit React Native Client SDK - v2.11.1

                                                      Interface BarVisualizerPropsBeta

                                                      interface BarVisualizerProps {
                                                          barCount?: number;
                                                          options?: BarVisualizerOptions;
                                                          state?: AgentState;
                                                          style?: ViewStyle;
                                                          trackRef?: TrackReferenceOrPlaceholder;
                                                      }
                                                      Index

                                                      Properties

                                                      barCount? +BarVisualizerProps | LiveKit React Native Client SDK - v2.12.0

                                                      Interface BarVisualizerPropsBeta

                                                      interface BarVisualizerProps {
                                                          barCount?: number;
                                                          options?: BarVisualizerOptions;
                                                          state?: AgentState;
                                                          style?: ViewStyle;
                                                          trackRef?: TrackReferenceOrPlaceholder;
                                                      }
                                                      Index

                                                      Properties

                                                      barCount?: number

                                                      Number of bars that show up in the visualizer

                                                      -
                                                      state?: AgentState

                                                      If set, the visualizer will transition between different voice assistant states

                                                      -
                                                      style?: ViewStyle

                                                      Custom React Native styles for the container.

                                                      -
                                                      trackRef?: TrackReferenceOrPlaceholder
                                                      +
                                                      state?: AgentState

                                                      If set, the visualizer will transition between different voice assistant states

                                                      +
                                                      style?: ViewStyle

                                                      Custom React Native styles for the container.

                                                      +
                                                      trackRef?: TrackReferenceOrPlaceholder
                                                      diff --git a/docs/interfaces/LiveKitRoomProps.html b/docs/interfaces/LiveKitRoomProps.html index 05e5c118..d5b6bdca 100644 --- a/docs/interfaces/LiveKitRoomProps.html +++ b/docs/interfaces/LiveKitRoomProps.html @@ -1,4 +1,4 @@ -LiveKitRoomProps | LiveKit React Native Client SDK - v2.11.1

                                                      Interface LiveKitRoomProps

                                                      interface LiveKitRoomProps {
                                                          audio?: boolean | AudioCaptureOptions;
                                                          connect?: boolean;
                                                          connectOptions?: RoomConnectOptions;
                                                          featureFlags?: FeatureFlags;
                                                          onConnected?: () => void;
                                                          onDisconnected?: () => void;
                                                          onEncryptionError?: (error: Error) => void;
                                                          onError?: (error: Error) => void;
                                                          onMediaDeviceFailure?: (failure?: MediaDeviceFailure) => void;
                                                          options?: RoomOptions;
                                                          room?: Room;
                                                          screen?: boolean | ScreenShareCaptureOptions;
                                                          serverUrl: string | undefined;
                                                          simulateParticipants?: number;
                                                          token: string | undefined;
                                                          video?: boolean | VideoCaptureOptions;
                                                      }
                                                      Index

                                                      Properties

                                                      audio? +LiveKitRoomProps | LiveKit React Native Client SDK - v2.12.0

                                                      Interface LiveKitRoomProps

                                                      interface LiveKitRoomProps {
                                                          audio?: boolean | AudioCaptureOptions;
                                                          connect?: boolean;
                                                          connectOptions?: RoomConnectOptions;
                                                          featureFlags?: FeatureFlags;
                                                          onConnected?: () => void;
                                                          onDisconnected?: () => void;
                                                          onEncryptionError?: (error: Error) => void;
                                                          onError?: (error: Error) => void;
                                                          onMediaDeviceFailure?: (failure?: MediaDeviceFailure) => void;
                                                          options?: RoomOptions;
                                                          room?: Room;
                                                          screen?: boolean | ScreenShareCaptureOptions;
                                                          serverUrl: string | undefined;
                                                          simulateParticipants?: number;
                                                          token: string | undefined;
                                                          video?: boolean | VideoCaptureOptions;
                                                      }
                                                      Index

                                                      Properties

                                                      Properties

                                                      audio?: boolean | AudioCaptureOptions

                                                      Publish audio immediately after connecting to your LiveKit room.

                                                      connect?: boolean

                                                      If set to true a connection to LiveKit room is initiated.

                                                      +
                                                      connect?: boolean

                                                      If set to true a connection to LiveKit room is initiated.

                                                      true

                                                      -
                                                      connectOptions?: RoomConnectOptions

                                                      Define options how to connect to the LiveKit server.

                                                      +
                                                      connectOptions?: RoomConnectOptions

                                                      Define options how to connect to the LiveKit server.

                                                      featureFlags?: FeatureFlags
                                                      onConnected?: () => void
                                                      onDisconnected?: () => void
                                                      onEncryptionError?: (error: Error) => void
                                                      onError?: (error: Error) => void
                                                      onMediaDeviceFailure?: (failure?: MediaDeviceFailure) => void
                                                      options?: RoomOptions

                                                      Options for when creating a new room. +

                                                      featureFlags?: FeatureFlags
                                                      onConnected?: () => void
                                                      onDisconnected?: () => void
                                                      onEncryptionError?: (error: Error) => void
                                                      onError?: (error: Error) => void
                                                      onMediaDeviceFailure?: (failure?: MediaDeviceFailure) => void
                                                      options?: RoomOptions

                                                      Options for when creating a new room. When you pass your own room instance to this component, these options have no effect. Instead, set the options directly in the room instance.

                                                      room?: Room

                                                      Optional room instance. +

                                                      room?: Room

                                                      Optional room instance. By passing your own room instance you overwrite the options parameter, make sure to set the options directly on the room instance itself.

                                                      -
                                                      screen?: boolean | ScreenShareCaptureOptions

                                                      Publish screen share immediately after connecting to your LiveKit room.

                                                      +
                                                      screen?: boolean | ScreenShareCaptureOptions

                                                      Publish screen share immediately after connecting to your LiveKit room.

                                                      serverUrl: string | undefined

                                                      URL to the LiveKit server. +

                                                      serverUrl: string | undefined

                                                      URL to the LiveKit server. For example: wss://<domain>.livekit.cloud To simplify the implementation, undefined is also accepted as an intermediate value, but only with a valid string url can the connection be established.

                                                      -
                                                      simulateParticipants?: number
                                                      token: string | undefined

                                                      A user specific access token for a client to authenticate to the room. +

                                                      simulateParticipants?: number
                                                      token: string | undefined

                                                      A user specific access token for a client to authenticate to the room. This token is necessary to establish a connection to the room. To simplify the implementation, undefined is also accepted as an intermediate value, but only with a valid string token can the connection be established.

                                                      video?: boolean | VideoCaptureOptions

                                                      Publish video immediately after connecting to your LiveKit room.

                                                      +
                                                      video?: boolean | VideoCaptureOptions

                                                      Publish video immediately after connecting to your LiveKit room.

                                                      +
                                                      diff --git a/docs/interfaces/MultiBandTrackVolumeOptions.html b/docs/interfaces/MultiBandTrackVolumeOptions.html index 6475a663..6664a634 100644 --- a/docs/interfaces/MultiBandTrackVolumeOptions.html +++ b/docs/interfaces/MultiBandTrackVolumeOptions.html @@ -1,10 +1,10 @@ -MultiBandTrackVolumeOptions | LiveKit React Native Client SDK - v2.11.1

                                                      Interface MultiBandTrackVolumeOptionsAlpha

                                                      Interface for configuring options for the useMultibandTrackVolume hook.

                                                      -
                                                      interface MultiBandTrackVolumeOptions {
                                                          bands?: number;
                                                          maxFrequency?: number;
                                                          minFrequency?: number;
                                                          updateInterval?: number;
                                                      }
                                                      Index

                                                      Properties

                                                      bands? +MultiBandTrackVolumeOptions | LiveKit React Native Client SDK - v2.12.0

                                                      Interface MultiBandTrackVolumeOptionsAlpha

                                                      Interface for configuring options for the useMultibandTrackVolume hook.

                                                      +
                                                      interface MultiBandTrackVolumeOptions {
                                                          bands?: number;
                                                          maxFrequency?: number;
                                                          minFrequency?: number;
                                                          updateInterval?: number;
                                                      }
                                                      Index

                                                      Properties

                                                      bands?: number

                                                      the number of bands to split the audio into

                                                      -
                                                      maxFrequency?: number

                                                      cut off frequency on the higher end

                                                      -
                                                      minFrequency?: number

                                                      cut off frequency on the lower end

                                                      -
                                                      updateInterval?: number

                                                      update should run every x ms

                                                      -
                                                      +
                                                      maxFrequency?: number

                                                      cut off frequency on the higher end

                                                      +
                                                      minFrequency?: number

                                                      cut off frequency on the lower end

                                                      +
                                                      updateInterval?: number

                                                      update should run every x ms

                                                      +
                                                      diff --git a/docs/interfaces/ParticipantState.html b/docs/interfaces/ParticipantState.html index 04125dd5..0c5f5a7d 100644 --- a/docs/interfaces/ParticipantState.html +++ b/docs/interfaces/ParticipantState.html @@ -1,5 +1,5 @@ -ParticipantState | LiveKit React Native Client SDK - v2.11.1

                                                      Interface ParticipantState

                                                      use useRemoteParticipant or useLocalParticipant instead

                                                      -
                                                      interface ParticipantState {
                                                          cameraPublication?: TrackPublication;
                                                          connectionQuality: ConnectionQuality;
                                                          isLocal: boolean;
                                                          isSpeaking: boolean;
                                                          metadata?: string;
                                                          microphonePublication?: TrackPublication;
                                                          publications: TrackPublication[];
                                                          screenSharePublication?: TrackPublication;
                                                          subscribedTracks: TrackPublication[];
                                                      }
                                                      Index

                                                      Properties

                                                      cameraPublication? +ParticipantState | LiveKit React Native Client SDK - v2.12.0

                                                      Interface ParticipantState

                                                      use useRemoteParticipant or useLocalParticipant instead

                                                      +
                                                      interface ParticipantState {
                                                          cameraPublication?: TrackPublication;
                                                          connectionQuality: ConnectionQuality;
                                                          isLocal: boolean;
                                                          isSpeaking: boolean;
                                                          metadata?: string;
                                                          microphonePublication?: TrackPublication;
                                                          publications: TrackPublication[];
                                                          screenSharePublication?: TrackPublication;
                                                          subscribedTracks: TrackPublication[];
                                                      }
                                                      Index

                                                      Properties

                                                      cameraPublication?: TrackPublication
                                                      connectionQuality: ConnectionQuality
                                                      isLocal: boolean
                                                      isSpeaking: boolean
                                                      metadata?: string
                                                      microphonePublication?: TrackPublication
                                                      publications: TrackPublication[]
                                                      screenSharePublication?: TrackPublication
                                                      subscribedTracks: TrackPublication[]
                                                      +

                                                      Properties

                                                      cameraPublication?: TrackPublication
                                                      connectionQuality: ConnectionQuality
                                                      isLocal: boolean
                                                      isSpeaking: boolean
                                                      metadata?: string
                                                      microphonePublication?: TrackPublication
                                                      publications: TrackPublication[]
                                                      screenSharePublication?: TrackPublication
                                                      subscribedTracks: TrackPublication[]
                                                      diff --git a/docs/interfaces/RNE2EEManagerState.html b/docs/interfaces/RNE2EEManagerState.html index 4f8fa289..28ada3d7 100644 --- a/docs/interfaces/RNE2EEManagerState.html +++ b/docs/interfaces/RNE2EEManagerState.html @@ -1,3 +1,3 @@ -RNE2EEManagerState | LiveKit React Native Client SDK - v2.11.1

                                                      Interface RNE2EEManagerState

                                                      interface RNE2EEManagerState {
                                                          e2eeManager: BaseE2EEManager;
                                                          keyProvider: RNKeyProvider;
                                                      }
                                                      Index

                                                      Properties

                                                      e2eeManager +RNE2EEManagerState | LiveKit React Native Client SDK - v2.12.0

                                                      Interface RNE2EEManagerState

                                                      interface RNE2EEManagerState {
                                                          e2eeManager: BaseE2EEManager;
                                                          keyProvider: RNKeyProvider;
                                                      }
                                                      Index

                                                      Properties

                                                      e2eeManager: BaseE2EEManager
                                                      keyProvider: RNKeyProvider
                                                      +

                                                      Properties

                                                      e2eeManager: BaseE2EEManager
                                                      keyProvider: RNKeyProvider
                                                      diff --git a/docs/interfaces/RegisterGlobalsOptions.html b/docs/interfaces/RegisterGlobalsOptions.html index 916ce3c5..e2900d99 100644 --- a/docs/interfaces/RegisterGlobalsOptions.html +++ b/docs/interfaces/RegisterGlobalsOptions.html @@ -1,8 +1,8 @@ -RegisterGlobalsOptions | LiveKit React Native Client SDK - v2.11.1

                                                      Interface RegisterGlobalsOptions

                                                      interface RegisterGlobalsOptions {
                                                          autoConfigureAudioSession?: boolean;
                                                      }
                                                      Index

                                                      Properties

                                                      autoConfigureAudioSession? +RegisterGlobalsOptions | LiveKit React Native Client SDK - v2.12.0

                                                      Interface RegisterGlobalsOptions

                                                      interface RegisterGlobalsOptions {
                                                          autoConfigureAudioSession?: boolean;
                                                      }
                                                      Index

                                                      Properties

                                                      autoConfigureAudioSession?: boolean

                                                      Automatically configure and activate the iOS audio session based on audio engine lifecycle events. Has no effect on non-Apple platforms.

                                                      true
                                                       
                                                      -
                                                      +
                                                      diff --git a/docs/interfaces/RoomOptions.html b/docs/interfaces/RoomOptions.html index 3bb3de95..950d87ce 100644 --- a/docs/interfaces/RoomOptions.html +++ b/docs/interfaces/RoomOptions.html @@ -1,2 +1,2 @@ -RoomOptions | LiveKit React Native Client SDK - v2.11.1

                                                      Interface RoomOptions

                                                      interface RoomOptions {
                                                          sortParticipants?: (participants: Participant[]) => void;
                                                      }
                                                      Index

                                                      Properties

                                                      Properties

                                                      sortParticipants?: (participants: Participant[]) => void
                                                      +RoomOptions | LiveKit React Native Client SDK - v2.12.0

                                                      Interface RoomOptions

                                                      interface RoomOptions {
                                                          sortParticipants?: (participants: Participant[]) => void;
                                                      }
                                                      Index

                                                      Properties

                                                      Properties

                                                      sortParticipants?: (participants: Participant[]) => void
                                                      diff --git a/docs/interfaces/RoomState.html b/docs/interfaces/RoomState.html index 86b8bc79..56e596f1 100644 --- a/docs/interfaces/RoomState.html +++ b/docs/interfaces/RoomState.html @@ -1,5 +1,5 @@ -RoomState | LiveKit React Native Client SDK - v2.11.1

                                                      Interface RoomState

                                                      interface RoomState {
                                                          audioTracks: AudioTrack[];
                                                          error?: Error;
                                                          participants: Participant[];
                                                          room?: Room;
                                                      }
                                                      Index

                                                      Properties

                                                      audioTracks +RoomState | LiveKit React Native Client SDK - v2.12.0

                                                      Interface RoomState

                                                      interface RoomState {
                                                          audioTracks: AudioTrack[];
                                                          error?: Error;
                                                          participants: Participant[];
                                                          room?: Room;
                                                      }
                                                      Index

                                                      Properties

                                                      audioTracks: AudioTrack[]
                                                      error?: Error
                                                      participants: Participant[]
                                                      room?: Room
                                                      +

                                                      Properties

                                                      audioTracks: AudioTrack[]
                                                      error?: Error
                                                      participants: Participant[]
                                                      room?: Room
                                                      diff --git a/docs/modules.html b/docs/modules.html index 42d1fee1..9c62f9a6 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -LiveKit React Native Client SDK - v2.11.1
                                                      +LiveKit React Native Client SDK - v2.12.0
                                                      diff --git a/docs/types/AndroidAudioTypeOptions.html b/docs/types/AndroidAudioTypeOptions.html index bd2479ea..dce0aa16 100644 --- a/docs/types/AndroidAudioTypeOptions.html +++ b/docs/types/AndroidAudioTypeOptions.html @@ -1,4 +1,4 @@ -AndroidAudioTypeOptions | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias AndroidAudioTypeOptions

                                                      type AndroidAudioTypeOptions = {
                                                          audioAttributesContentType?:
                                                              | "movie"
                                                              | "music"
                                                              | "sonification"
                                                              | "speech"
                                                              | "unknown";
                                                          audioAttributesUsageType?: | "alarm"
                                                          | "assistanceAccessibility"
                                                          | "assistanceNavigationGuidance"
                                                          | "assistanceSonification"
                                                          | "assistant"
                                                          | "game"
                                                          | "media"
                                                          | "notification"
                                                          | "notificationEvent"
                                                          | "notificationRingtone"
                                                          | "unknown"
                                                          | "voiceCommunication"
                                                          | "voiceCommunicationSignalling";
                                                          audioFocusMode?: | "gain"
                                                          | "gainTransient"
                                                          | "gainTransientExclusive"
                                                          | "gainTransientMayDuck";
                                                          audioMode?: | "normal"
                                                          | "callScreening"
                                                          | "inCall"
                                                          | "inCommunication"
                                                          | "ringtone";
                                                          audioStreamType?: | "accessibility"
                                                          | "alarm"
                                                          | "dtmf"
                                                          | "music"
                                                          | "notification"
                                                          | "ring"
                                                          | "system"
                                                          | "voiceCall";
                                                          forceHandleAudioRouting?: boolean;
                                                          manageAudioFocus?: boolean;
                                                      }
                                                      Index

                                                      Properties

                                                      audioAttributesContentType? +AndroidAudioTypeOptions | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias AndroidAudioTypeOptions

                                                      type AndroidAudioTypeOptions = {
                                                          audioAttributesContentType?:
                                                              | "movie"
                                                              | "music"
                                                              | "sonification"
                                                              | "speech"
                                                              | "unknown";
                                                          audioAttributesUsageType?: | "alarm"
                                                          | "assistanceAccessibility"
                                                          | "assistanceNavigationGuidance"
                                                          | "assistanceSonification"
                                                          | "assistant"
                                                          | "game"
                                                          | "media"
                                                          | "notification"
                                                          | "notificationEvent"
                                                          | "notificationRingtone"
                                                          | "unknown"
                                                          | "voiceCommunication"
                                                          | "voiceCommunicationSignalling";
                                                          audioFocusMode?: | "gain"
                                                          | "gainTransient"
                                                          | "gainTransientExclusive"
                                                          | "gainTransientMayDuck";
                                                          audioMode?: | "normal"
                                                          | "callScreening"
                                                          | "inCall"
                                                          | "inCommunication"
                                                          | "ringtone";
                                                          audioStreamType?: | "accessibility"
                                                          | "alarm"
                                                          | "dtmf"
                                                          | "music"
                                                          | "notification"
                                                          | "ring"
                                                          | "system"
                                                          | "voiceCall";
                                                          forceHandleAudioRouting?: boolean;
                                                          manageAudioFocus?: boolean;
                                                      }
                                                      Index

                                                      Properties

                                                      audioAttributesContentType?:
                                                          | "movie"
                                                          | "music"
                                                          | "sonification"
                                                          | "speech"
                                                          | "unknown"

                                                      Corresponds to Android's AndroidAttributes content type.

                                                      Defaults to 'speech'.

                                                      See also https://developer.android.com/reference/android/media/AudioAttributes

                                                      -
                                                      audioAttributesUsageType?:
                                                          | "alarm"
                                                          | "assistanceAccessibility"
                                                          | "assistanceNavigationGuidance"
                                                          | "assistanceSonification"
                                                          | "assistant"
                                                          | "game"
                                                          | "media"
                                                          | "notification"
                                                          | "notificationEvent"
                                                          | "notificationRingtone"
                                                          | "unknown"
                                                          | "voiceCommunication"
                                                          | "voiceCommunicationSignalling"

                                                      Corresponds to Android's AudioAttributes usage type.

                                                      +
                                                      audioAttributesUsageType?:
                                                          | "alarm"
                                                          | "assistanceAccessibility"
                                                          | "assistanceNavigationGuidance"
                                                          | "assistanceSonification"
                                                          | "assistant"
                                                          | "game"
                                                          | "media"
                                                          | "notification"
                                                          | "notificationEvent"
                                                          | "notificationRingtone"
                                                          | "unknown"
                                                          | "voiceCommunication"
                                                          | "voiceCommunicationSignalling"

                                                      Corresponds to Android's AudioAttributes usage type.

                                                      Defaults to 'voiceCommunication'.

                                                      See also https://developer.android.com/reference/android/media/AudioAttributes

                                                      -
                                                      audioFocusMode?:
                                                          | "gain"
                                                          | "gainTransient"
                                                          | "gainTransientExclusive"
                                                          | "gainTransientMayDuck"

                                                      Corresponds to the duration hint when requesting audio focus.

                                                      +
                                                      audioFocusMode?:
                                                          | "gain"
                                                          | "gainTransient"
                                                          | "gainTransientExclusive"
                                                          | "gainTransientMayDuck"

                                                      Corresponds to the duration hint when requesting audio focus.

                                                      Defaults to 'gain'.

                                                      See also https://developer.android.com/reference/android/media/AudioManager#AUDIOFOCUS_GAIN

                                                      -
                                                      audioMode?:
                                                          | "normal"
                                                          | "callScreening"
                                                          | "inCall"
                                                          | "inCommunication"
                                                          | "ringtone"
                                                      audioMode?:
                                                          | "normal"
                                                          | "callScreening"
                                                          | "inCall"
                                                          | "inCommunication"
                                                          | "ringtone"
                                                      audioStreamType?:
                                                          | "accessibility"
                                                          | "alarm"
                                                          | "dtmf"
                                                          | "music"
                                                          | "notification"
                                                          | "ring"
                                                          | "system"
                                                          | "voiceCall"

                                                      Corresponds to the stream type when requesting audio focus. Used on pre-O devices.

                                                      +
                                                      audioStreamType?:
                                                          | "accessibility"
                                                          | "alarm"
                                                          | "dtmf"
                                                          | "music"
                                                          | "notification"
                                                          | "ring"
                                                          | "system"
                                                          | "voiceCall"

                                                      Corresponds to the stream type when requesting audio focus. Used on pre-O devices.

                                                      Defaults to 'voiceCall'

                                                      See also https://developer.android.com/reference/android/media/AudioManager#STREAM_VOICE_CALL

                                                      -
                                                      forceHandleAudioRouting?: boolean

                                                      On certain Android devices, audio routing does not function properly and +

                                                      forceHandleAudioRouting?: boolean

                                                      On certain Android devices, audio routing does not function properly and bluetooth microphones will not work unless audio mode is set to inCommunication or inCall. Audio routing is turned off those cases.

                                                      If this set to true, will attempt to do audio routing regardless of audio mode.

                                                      Defaults to false.

                                                      -
                                                      manageAudioFocus?: boolean

                                                      Whether LiveKit should handle managing the audio focus or not.

                                                      +
                                                      manageAudioFocus?: boolean

                                                      Whether LiveKit should handle managing the audio focus or not.

                                                      Defaults to true.

                                                      -
                                                      +
                                                      diff --git a/docs/types/AppleAudioCategory.html b/docs/types/AppleAudioCategory.html index a2eb8622..d8766552 100644 --- a/docs/types/AppleAudioCategory.html +++ b/docs/types/AppleAudioCategory.html @@ -1 +1 @@ -AppleAudioCategory | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias AppleAudioCategory

                                                      AppleAudioCategory:
                                                          | "soloAmbient"
                                                          | "playback"
                                                          | "record"
                                                          | "playAndRecord"
                                                          | "multiRoute"
                                                      +AppleAudioCategory | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias AppleAudioCategory

                                                      AppleAudioCategory:
                                                          | "soloAmbient"
                                                          | "playback"
                                                          | "record"
                                                          | "playAndRecord"
                                                          | "multiRoute"
                                                      diff --git a/docs/types/AppleAudioCategoryOption.html b/docs/types/AppleAudioCategoryOption.html index f8c24358..369d1dd1 100644 --- a/docs/types/AppleAudioCategoryOption.html +++ b/docs/types/AppleAudioCategoryOption.html @@ -1 +1 @@ -AppleAudioCategoryOption | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias AppleAudioCategoryOption

                                                      AppleAudioCategoryOption:
                                                          | "mixWithOthers"
                                                          | "duckOthers"
                                                          | "interruptSpokenAudioAndMixWithOthers"
                                                          | "allowBluetooth"
                                                          | "allowBluetoothA2DP"
                                                          | "allowAirPlay"
                                                          | "defaultToSpeaker"
                                                      +AppleAudioCategoryOption | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias AppleAudioCategoryOption

                                                      AppleAudioCategoryOption:
                                                          | "mixWithOthers"
                                                          | "duckOthers"
                                                          | "interruptSpokenAudioAndMixWithOthers"
                                                          | "allowBluetooth"
                                                          | "allowBluetoothA2DP"
                                                          | "allowAirPlay"
                                                          | "defaultToSpeaker"
                                                      diff --git a/docs/types/AppleAudioConfiguration.html b/docs/types/AppleAudioConfiguration.html index 118eb86b..316fa595 100644 --- a/docs/types/AppleAudioConfiguration.html +++ b/docs/types/AppleAudioConfiguration.html @@ -1,4 +1,4 @@ -AppleAudioConfiguration | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias AppleAudioConfiguration

                                                      type AppleAudioConfiguration = {
                                                          audioCategory?: AppleAudioCategory;
                                                          audioCategoryOptions?: AppleAudioCategoryOption[];
                                                          audioMode?: AppleAudioMode;
                                                      }
                                                      Index

                                                      Properties

                                                      audioCategory? +AppleAudioConfiguration | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias AppleAudioConfiguration

                                                      type AppleAudioConfiguration = {
                                                          audioCategory?: AppleAudioCategory;
                                                          audioCategoryOptions?: AppleAudioCategoryOption[];
                                                          audioMode?: AppleAudioMode;
                                                      }
                                                      Index

                                                      Properties

                                                      audioCategory?: AppleAudioCategory
                                                      audioCategoryOptions?: AppleAudioCategoryOption[]
                                                      audioMode?: AppleAudioMode
                                                      +

                                                      Properties

                                                      audioCategory?: AppleAudioCategory
                                                      audioCategoryOptions?: AppleAudioCategoryOption[]
                                                      audioMode?: AppleAudioMode
                                                      diff --git a/docs/types/AppleAudioMode.html b/docs/types/AppleAudioMode.html index 43c16e60..7745df6c 100644 --- a/docs/types/AppleAudioMode.html +++ b/docs/types/AppleAudioMode.html @@ -1 +1 @@ -AppleAudioMode | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias AppleAudioMode

                                                      AppleAudioMode:
                                                          | "default"
                                                          | "gameChat"
                                                          | "measurement"
                                                          | "moviePlayback"
                                                          | "spokenAudio"
                                                          | "videoChat"
                                                          | "videoRecording"
                                                          | "voiceChat"
                                                          | "voicePrompt"
                                                      +AppleAudioMode | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias AppleAudioMode

                                                      AppleAudioMode:
                                                          | "default"
                                                          | "gameChat"
                                                          | "measurement"
                                                          | "moviePlayback"
                                                          | "spokenAudio"
                                                          | "videoChat"
                                                          | "videoRecording"
                                                          | "voiceChat"
                                                          | "voicePrompt"
                                                      diff --git a/docs/types/AudioConfiguration.html b/docs/types/AudioConfiguration.html index 931a1b16..f27e2bb0 100644 --- a/docs/types/AudioConfiguration.html +++ b/docs/types/AudioConfiguration.html @@ -1,4 +1,4 @@ -AudioConfiguration | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias AudioConfiguration

                                                      Configuration for the underlying AudioSession.

                                                      +AudioConfiguration | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias AudioConfiguration

                                                      Configuration for the underlying AudioSession.


                                                      Android specific options:

                                                        @@ -27,6 +27,6 @@

                                                        By default, this is set to "speaker"

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

                                                      Properties

                                                      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" }
                                                      +

                                                      Properties

                                                      android?: {
                                                          audioTypeOptions: AndroidAudioTypeOptions;
                                                          preferredOutputList?: ("speaker" | "earpiece" | "headset" | "bluetooth")[];
                                                      }
                                                      ios?: { defaultOutput?: "speaker" | "earpiece" }
                                                      diff --git a/docs/types/AudioEngineConfigurationState.html b/docs/types/AudioEngineConfigurationState.html index 9cbd5b4a..f9866f3b 100644 --- a/docs/types/AudioEngineConfigurationState.html +++ b/docs/types/AudioEngineConfigurationState.html @@ -1,4 +1,4 @@ -AudioEngineConfigurationState | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias AudioEngineConfigurationState

                                                      type AudioEngineConfigurationState = {
                                                          isPlayoutEnabled: boolean;
                                                          isRecordingEnabled: boolean;
                                                          preferSpeakerOutput: boolean;
                                                      }
                                                      Index

                                                      Properties

                                                      isPlayoutEnabled +AudioEngineConfigurationState | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias AudioEngineConfigurationState

                                                      type AudioEngineConfigurationState = {
                                                          isPlayoutEnabled: boolean;
                                                          isRecordingEnabled: boolean;
                                                          preferSpeakerOutput: boolean;
                                                      }
                                                      Index

                                                      Properties

                                                      isPlayoutEnabled: boolean
                                                      isRecordingEnabled: boolean
                                                      preferSpeakerOutput: boolean
                                                      +

                                                      Properties

                                                      isPlayoutEnabled: boolean
                                                      isRecordingEnabled: boolean
                                                      preferSpeakerOutput: boolean
                                                      diff --git a/docs/types/AudioTrackState.html b/docs/types/AudioTrackState.html index 1ddfdff1..ccdd417f 100644 --- a/docs/types/AudioTrackState.html +++ b/docs/types/AudioTrackState.html @@ -1,6 +1,6 @@ -AudioTrackState | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias AudioTrackState

                                                      AudioTrackState: "none" | "remoteOnly" | "localOnly" | "localAndRemote"

                                                      Retained only for the legacy useIOSAudioManagement hook and -getDefaultAppleAudioConfigurationForMode. New code should pass an -onConfigureNativeAudio callback to setupIOSAudioManagement, which -receives an AudioEngineConfigurationState (playout/recording/speaker -booleans). That shape has no direct AudioTrackState equivalent.

                                                      -
                                                      +AudioTrackState | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias AudioTrackState

                                                      AudioTrackState: "none" | "remoteOnly" | "localOnly" | "localAndRemote"

                                                      Retained only for the legacy useIOSAudioManagement hook and +getDefaultAppleAudioConfigurationForMode. New code should use +setupIOSAudioManagement (optionally with an IOSAudioSessionPolicy). +That API is driven by playout/recording engine state, which has no direct +AudioTrackState equivalent.

                                                      +
                                                      diff --git a/docs/types/BarVisualizerOptions.html b/docs/types/BarVisualizerOptions.html index 33686b56..78eb8a0e 100644 --- a/docs/types/BarVisualizerOptions.html +++ b/docs/types/BarVisualizerOptions.html @@ -1,8 +1,8 @@ -BarVisualizerOptions | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias BarVisualizerOptions

                                                      type BarVisualizerOptions = {
                                                          barBorderRadius?: number;
                                                          barColor?: ColorValue;
                                                          barWidth?: DimensionValue;
                                                          maxHeight?: number;
                                                          minHeight?: number;
                                                      }
                                                      Index

                                                      Properties

                                                      barBorderRadius? +BarVisualizerOptions | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias BarVisualizerOptions

                                                      type BarVisualizerOptions = {
                                                          barBorderRadius?: number;
                                                          barColor?: ColorValue;
                                                          barWidth?: DimensionValue;
                                                          maxHeight?: number;
                                                          minHeight?: number;
                                                      }
                                                      Index

                                                      Properties

                                                      barBorderRadius?: number
                                                      barColor?: ColorValue
                                                      barWidth?: DimensionValue
                                                      maxHeight?: number

                                                      decimal values from 0 to 1

                                                      -
                                                      minHeight?: number

                                                      decimal values from 0 to 1

                                                      -
                                                      +

                                                      Properties

                                                      barBorderRadius?: number
                                                      barColor?: ColorValue
                                                      barWidth?: DimensionValue
                                                      maxHeight?: number

                                                      decimal values from 0 to 1

                                                      +
                                                      minHeight?: number

                                                      decimal values from 0 to 1

                                                      +
                                                      diff --git a/docs/types/IOSAudioSessionPolicy.html b/docs/types/IOSAudioSessionPolicy.html new file mode 100644 index 00000000..d8f32c10 --- /dev/null +++ b/docs/types/IOSAudioSessionPolicy.html @@ -0,0 +1,7 @@ +IOSAudioSessionPolicy | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias IOSAudioSessionPolicy

                                                      Static recording/playout policy for setupIOSAudioManagement.

                                                      +
                                                      type IOSAudioSessionPolicy = {
                                                          deactivateOnStop?: boolean;
                                                          playout: AppleAudioConfiguration;
                                                          recording: AppleAudioConfiguration;
                                                      }
                                                      Index

                                                      Properties

                                                      deactivateOnStop?: boolean

                                                      Whether to deactivate the audio session when both playout and recording +are disabled. Defaults to true.

                                                      +
                                                      diff --git a/docs/types/LogLevel.html b/docs/types/LogLevel.html index 2aece202..89116376 100644 --- a/docs/types/LogLevel.html +++ b/docs/types/LogLevel.html @@ -1 +1 @@ -LogLevel | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias LogLevel

                                                      LogLevel: Parameters<typeof setClientSdkLogLevel>[0]
                                                      +LogLevel | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias LogLevel

                                                      LogLevel: Parameters<typeof setClientSdkLogLevel>[0]
                                                      diff --git a/docs/types/OnConfigureNativeAudio.html b/docs/types/OnConfigureNativeAudio.html new file mode 100644 index 00000000..9a9cd3b2 --- /dev/null +++ b/docs/types/OnConfigureNativeAudio.html @@ -0,0 +1,3 @@ +OnConfigureNativeAudio | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias OnConfigureNativeAudio

                                                      OnConfigureNativeAudio: (
                                                          configurationState: AudioEngineConfigurationState,
                                                      ) => AppleAudioConfiguration

                                                      Type Declaration

                                                      Unsafe. Prefer IOSAudioSessionPolicy or the default +native path. See setupIOSAudioManagement.

                                                      +
                                                      diff --git a/docs/types/Props.html b/docs/types/Props.html index 2e92ea1f..e363c1d9 100644 --- a/docs/types/Props.html +++ b/docs/types/Props.html @@ -1,7 +1,7 @@ -Props | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias Props

                                                      use VideoTrack and VideoTrackProps instead.

                                                      -
                                                      type Props = {
                                                          mirror?: boolean;
                                                          objectFit?: "cover" | "contain";
                                                          style?: ViewStyle;
                                                          videoTrack?: VideoTrack;
                                                          zOrder?: number;
                                                      }
                                                      Index

                                                      Properties

                                                      mirror? +Props | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias Props

                                                      use VideoTrack and VideoTrackProps instead.

                                                      +
                                                      type Props = {
                                                          mirror?: boolean;
                                                          objectFit?: "cover" | "contain";
                                                          style?: ViewStyle;
                                                          videoTrack?: VideoTrack;
                                                          zOrder?: number;
                                                      }
                                                      Index

                                                      Properties

                                                      mirror?: boolean
                                                      objectFit?: "cover" | "contain"
                                                      style?: ViewStyle
                                                      videoTrack?: VideoTrack
                                                      zOrder?: number
                                                      +

                                                      Properties

                                                      mirror?: boolean
                                                      objectFit?: "cover" | "contain"
                                                      style?: ViewStyle
                                                      videoTrack?: VideoTrack
                                                      zOrder?: number
                                                      diff --git a/docs/types/RNKeyProviderOptions.html b/docs/types/RNKeyProviderOptions.html index 711fbf72..eefd65fb 100644 --- a/docs/types/RNKeyProviderOptions.html +++ b/docs/types/RNKeyProviderOptions.html @@ -1,2 +1,2 @@ -RNKeyProviderOptions | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias RNKeyProviderOptions

                                                      RNKeyProviderOptions: KeyProviderOptions & {
                                                          uncryptedMagicBytes?: string | Uint8Array;
                                                      }

                                                      Options for construction an RNKeyProvider

                                                      -
                                                      +RNKeyProviderOptions | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias RNKeyProviderOptions

                                                      RNKeyProviderOptions: KeyProviderOptions & {
                                                          uncryptedMagicBytes?: string | Uint8Array;
                                                      }

                                                      Options for construction an RNKeyProvider

                                                      +
                                                      diff --git a/docs/types/SetLogLevelOptions.html b/docs/types/SetLogLevelOptions.html index ae408125..3a0aa69d 100644 --- a/docs/types/SetLogLevelOptions.html +++ b/docs/types/SetLogLevelOptions.html @@ -1,2 +1,2 @@ -SetLogLevelOptions | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias SetLogLevelOptions

                                                      type SetLogLevelOptions = {
                                                          liveKitClientLogLevel?: LogLevel;
                                                      }
                                                      Index

                                                      Properties

                                                      liveKitClientLogLevel?: LogLevel
                                                      +SetLogLevelOptions | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias SetLogLevelOptions

                                                      type SetLogLevelOptions = {
                                                          liveKitClientLogLevel?: LogLevel;
                                                      }
                                                      Index

                                                      Properties

                                                      liveKitClientLogLevel?: LogLevel
                                                      diff --git a/docs/types/UseRNE2EEManagerOptions.html b/docs/types/UseRNE2EEManagerOptions.html index dcedb033..378a3e24 100644 --- a/docs/types/UseRNE2EEManagerOptions.html +++ b/docs/types/UseRNE2EEManagerOptions.html @@ -1,3 +1,3 @@ -UseRNE2EEManagerOptions | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias UseRNE2EEManagerOptions

                                                      type UseRNE2EEManagerOptions = {
                                                          keyProviderOptions?: RNKeyProviderOptions;
                                                          sharedKey: string | Uint8Array;
                                                      }
                                                      Index

                                                      Properties

                                                      keyProviderOptions? +UseRNE2EEManagerOptions | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias UseRNE2EEManagerOptions

                                                      type UseRNE2EEManagerOptions = {
                                                          keyProviderOptions?: RNKeyProviderOptions;
                                                          sharedKey: string | Uint8Array;
                                                      }
                                                      Index

                                                      Properties

                                                      keyProviderOptions?: RNKeyProviderOptions
                                                      sharedKey: string | Uint8Array
                                                      +

                                                      Properties

                                                      keyProviderOptions?: RNKeyProviderOptions
                                                      sharedKey: string | Uint8Array
                                                      diff --git a/docs/types/VideoTrackProps.html b/docs/types/VideoTrackProps.html index c225d5d2..cdb98fb6 100644 --- a/docs/types/VideoTrackProps.html +++ b/docs/types/VideoTrackProps.html @@ -1,5 +1,5 @@ -VideoTrackProps | LiveKit React Native Client SDK - v2.11.1

                                                      Type Alias VideoTrackProps

                                                      Props for the VideoTrack component.

                                                      -
                                                      type VideoTrackProps = {
                                                          iosPIP?: RTCIOSPIPOptions & {
                                                              fallbackView?: ReactNode;
                                                              preferredSize: { height: number; width: number };
                                                          };
                                                          mirror?: boolean;
                                                          objectFit?: "cover"
                                                          | "contain";
                                                          style?: ViewStyle;
                                                          trackRef: TrackReference | undefined;
                                                          zOrder?: number;
                                                      }
                                                      Index

                                                      Properties

                                                      iosPIP? +VideoTrackProps | LiveKit React Native Client SDK - v2.12.0

                                                      Type Alias VideoTrackProps

                                                      Props for the VideoTrack component.

                                                      +
                                                      type VideoTrackProps = {
                                                          iosPIP?: RTCIOSPIPOptions & {
                                                              fallbackView?: ReactNode;
                                                              preferredSize: { height: number; width: number };
                                                          };
                                                          mirror?: boolean;
                                                          objectFit?: "cover"
                                                          | "contain";
                                                          style?: ViewStyle;
                                                          trackRef: TrackReference | undefined;
                                                          zOrder?: number;
                                                      }
                                                      Index

                                                      Properties

                                                      iosPIP? mirror? objectFit? style? @@ -15,15 +15,15 @@
                                                      import { startIOSPIP, stopIOSPIP } from '@livekit/react-native-webrtc';

                                                      // Obtain a ref to the view
                                                      const videoRef = useRef<Component>(null);
                                                      const videoView = (
                                                      <VideoTrack
                                                      ref={videoRef}
                                                      iosPIP={{
                                                      enabled: true,
                                                      startAutomatically: true,
                                                      preferredSize: {
                                                      width: 9,
                                                      height: 16,
                                                      },
                                                      }}
                                                      ...
                                                      />
                                                      );

                                                      // Start/stop manually
                                                      startIOSPIP(videoRef);
                                                      stopIOSPIP(videoRef);
                                                      -
                                                      mirror?: boolean

                                                      Indicates whether the video should be mirrored during rendering. +

                                                      mirror?: boolean

                                                      Indicates whether the video should be mirrored during rendering. This is commonly used for front-facing cameras.

                                                      -
                                                      objectFit?: "cover" | "contain"

                                                      Specifies how the video content should be resized to fit its container. +

                                                      objectFit?: "cover" | "contain"

                                                      Specifies how the video content should be resized to fit its container. 'cover' (default): The video will fill the entire container, potentially cropping the video. 'contain': The entire video will be visible within the container, potentially leaving empty space.

                                                      -
                                                      style?: ViewStyle

                                                      Custom React Native styles for the video container.

                                                      -
                                                      trackRef: TrackReference | undefined

                                                      The track reference to display. This should be a TrackReference object +

                                                      style?: ViewStyle

                                                      Custom React Native styles for the video container.

                                                      +
                                                      trackRef: TrackReference | undefined

                                                      The track reference to display. This should be a TrackReference object or undefined if no track is available.

                                                      -
                                                      zOrder?: number

                                                      Specifies the depth-stacking order of this video view in the stacking space of all video views. +

                                                      zOrder?: number

                                                      Specifies the depth-stacking order of this video view in the stacking space of all video views. A larger zOrder value generally causes the view to cover those with lower values.

                                                      The support for zOrder is platform-dependent and/or implementation-specific. Thus, specifying a value for zOrder is to be @@ -38,4 +38,4 @@ application usually needs a maximum of two zOrder values: 0 for the remote video(s) which appear in the background, and 1 for the local video(s) which appear above the remote video(s).

                                                      -
                                                      +
                                                      diff --git a/docs/variables/AndroidAudioTypePresets.html b/docs/variables/AndroidAudioTypePresets.html index 2b71b663..66a824b6 100644 --- a/docs/variables/AndroidAudioTypePresets.html +++ b/docs/variables/AndroidAudioTypePresets.html @@ -1,3 +1,3 @@ -AndroidAudioTypePresets | LiveKit React Native Client SDK - v2.11.1

                                                      Variable AndroidAudioTypePresetsConst

                                                      AndroidAudioTypePresets: {
                                                          communication: AndroidAudioTypeOptions;
                                                          media: AndroidAudioTypeOptions;
                                                      } = ...

                                                      Type Declaration

                                                      diff --git a/docs/variables/VideoTrack.html b/docs/variables/VideoTrack.html index 1f5e489b..868b73d7 100644 --- a/docs/variables/VideoTrack.html +++ b/docs/variables/VideoTrack.html @@ -1,5 +1,5 @@ -VideoTrack | LiveKit React Native Client SDK - v2.11.1

                                                      Variable VideoTrackConst

                                                      VideoTrack: ForwardRefExoticComponent<
                                                          VideoTrackProps & RefAttributes<
                                                              Component<RTCVideoViewProps, {}, any> & ReactNativeElement,
                                                          >,
                                                      > = ...

                                                      VideoTrack component for displaying video tracks in a React Native application. +VideoTrack | LiveKit React Native Client SDK - v2.12.0

                                                      Variable VideoTrackConst

                                                      VideoTrack: ForwardRefExoticComponent<
                                                          VideoTrackProps & RefAttributes<
                                                              Component<RTCVideoViewProps, {}, any> & ReactNativeElement,
                                                          >,
                                                      > = ...

                                                      VideoTrack component for displaying video tracks in a React Native application. It supports both local and remote video tracks from LiveKit, and handles adaptive streaming for remote tracks.

                                                      See VideoTrackProps for details.

                                                      A React component that renders the given video track.

                                                      -
                                                      +
                                                      diff --git a/docs/variables/log.html b/docs/variables/log.html index 3b45a8b2..54548c7e 100644 --- a/docs/variables/log.html +++ b/docs/variables/log.html @@ -1 +1 @@ -log | LiveKit React Native Client SDK - v2.11.1

                                                      Variable logConst

                                                      log: Logger = ...
                                                      +log | LiveKit React Native Client SDK - v2.12.0

                                                      Variable logConst

                                                      log: Logger = ...
                                                      diff --git a/package.json b/package.json index c113bad6..9e3d5c2c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@livekit/react-native", - "version": "2.11.1", + "version": "2.12.0", "description": "LiveKit for React Native", "main": "lib/commonjs/index.js", "module": "lib/module/index.js",