From 4f4424dee2d7b7c11f84fb06ccad912bbc4637f8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 11 Sep 2026 17:16:35 +0000 Subject: [PATCH] Version Packages --- .../match-swift-play-and-record-options.md | 21 ------- .changeset/prefixed-webrtc-symbols.md | 13 ---- .../voice-processing-aware-session-mode.md | 30 ---------- CHANGELOG.md | 60 +++++++++++++++++++ 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 | 8 ++- docs/functions/registerGlobals.html | 4 +- docs/functions/setLogLevel.html | 4 +- docs/functions/setupIOSAudioManagement.html | 8 +-- docs/functions/sortParticipants.html | 4 +- docs/functions/useBarAnimator.html | 2 +- docs/functions/useIOSAudioManagement.html | 4 +- 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 | 4 +- 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 | 9 ++- docs/types/AudioTrackState.html | 4 +- docs/types/BarVisualizerOptions.html | 8 +-- docs/types/IOSAudioSessionPolicy.html | 14 ++++- docs/types/LogLevel.html | 2 +- docs/types/OnConfigureNativeAudio.html | 4 +- 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, 210 insertions(+), 199 deletions(-) delete mode 100644 .changeset/match-swift-play-and-record-options.md delete mode 100644 .changeset/prefixed-webrtc-symbols.md delete mode 100644 .changeset/voice-processing-aware-session-mode.md diff --git a/.changeset/match-swift-play-and-record-options.md b/.changeset/match-swift-play-and-record-options.md deleted file mode 100644 index fedb83ca..00000000 --- a/.changeset/match-swift-play-and-record-options.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'@livekit/react-native': minor ---- - -iOS: align the default `playAndRecord` presets with the LiveKit Swift SDK. - -The duplex (recording) presets now request `mixWithOthers`, `allowBluetooth`, -`allowBluetoothA2DP` and `allowAirPlay`, matching `playAndRecordOptions` in the -Swift SDK. Previously only `allowBluetooth` and `mixWithOthers` were requested, -so A2DP output devices and AirPlay routes were unavailable during a call on this -platform but available on others. - -When `preferSpeakerOutput` is set, `defaultToSpeaker` is now requested as well. -The `videoChat` mode implies a speaker route, but iOS may rewrite the mode when -Voice Processing I/O is instantiated - the Swift SDK observed it switching to -`voiceChat`, which routes to the receiver. Requesting the option explicitly -keeps the speaker route across that rewrite. - -This affects the defaults used by `setupIOSAudioManagement` and the deprecated -`getDefaultAppleAudioConfigurationForMode`. A custom `IOSAudioSessionPolicy` or -`AppleAudioConfiguration` is unaffected - those supply their own options. diff --git a/.changeset/prefixed-webrtc-symbols.md b/.changeset/prefixed-webrtc-symbols.md deleted file mode 100644 index 00bdb51f..00000000 --- a/.changeset/prefixed-webrtc-symbols.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@livekit/react-native': major ---- - -Move to the LiveKit prefixed WebRTC builds: `io.github.webrtc-sdk:android-prefixed` on Android and the `LiveKitWebRTC` pod on iOS. This prevents collisions against any other WebRTC implementations. - -Apps that only use the JavaScript API need no changes. - -Native integrations must migrate to the prefixed symbols: - -* Android: `org.webrtc.*` becomes `livekit.org.webrtc.*`. - Custom `-keep class org.webrtc.**` ProGuard rules must be updated to `livekit.org.webrtc.**`. -* iOS: types gain an `LK` prefix (`RTCAudioRenderer` becomes `LKRTCAudioRenderer`, `RTCAudioBuffer` becomes `LKRTCAudioBuffer`, and so on). diff --git a/.changeset/voice-processing-aware-session-mode.md b/.changeset/voice-processing-aware-session-mode.md deleted file mode 100644 index 0334ec92..00000000 --- a/.changeset/voice-processing-aware-session-mode.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -'@livekit/react-native': minor ---- - -iOS: pick the audio session mode based on Apple Voice Processing I/O state. - -iOS applies a reduced, call-tuned speaker gain while capture is active under the -`voiceChat`/`videoChat` session modes. Apple Voice Processing I/O compensates -with its own loudness stage, so with VPIO off remote audio played back -noticeably quieter. - -`LiveKitWebRTC` 144.7559.15 reports the resolved VPIO state to the audio device -module's `willEnableEngine` hook. The default recording configuration now uses -that: with VPIO running it keeps `voiceChat`/`videoChat` as before, and with VPIO -off (for example after `AudioDeviceModule.setVoiceProcessingEnabled(false)`) it -switches to the `default` mode, which keeps media gain. That mode routes to the -receiver, so `preferSpeakerOutput` is expressed through the `defaultToSpeaker` -category option instead of the implicit routing the chat modes provide. This -matches what the LiveKit Swift SDK already does. - -`IOSAudioSessionPolicy` gains an optional `recordingWithoutVoiceProcessing` -configuration for the VPIO-off case. Policies that omit it keep using their -`recording` configuration for both, so existing setups are unaffected. -`AudioEngineConfigurationState`, passed to the deprecated -`setupIOSAudioManagement` callback form, gains a matching -`isVoiceProcessingEnabled` field. - -Requires `@livekit/react-native-webrtc` with the five-argument `willEnableEngine` -delegate method. Older versions crash with an unrecognized selector when the -audio engine first enables. diff --git a/CHANGELOG.md b/CHANGELOG.md index 40d21bf3..28eab7de 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,65 @@ # @livekit/react-native +## 3.0.0 + +### Major Changes + +- Move to the LiveKit prefixed WebRTC builds: `io.github.webrtc-sdk:android-prefixed` on Android and the `LiveKitWebRTC` pod on iOS. This prevents collisions against any other WebRTC implementations. - [#455](https://github.com/livekit/client-sdk-react-native/pull/455) ([@davidliu](https://github.com/davidliu)) + + Apps that only use the JavaScript API need no changes. + + Native integrations must migrate to the prefixed symbols: + - Android: `org.webrtc.*` becomes `livekit.org.webrtc.*`. + Custom `-keep class org.webrtc.**` ProGuard rules must be updated to `livekit.org.webrtc.**`. + - iOS: types gain an `LK` prefix (`RTCAudioRenderer` becomes `LKRTCAudioRenderer`, `RTCAudioBuffer` becomes `LKRTCAudioBuffer`, and so on). + +### Minor Changes + +- iOS: align the default `playAndRecord` presets with the LiveKit Swift SDK. - [#455](https://github.com/livekit/client-sdk-react-native/pull/455) ([@davidliu](https://github.com/davidliu)) + + The duplex (recording) presets now request `mixWithOthers`, `allowBluetooth`, + `allowBluetoothA2DP` and `allowAirPlay`, matching `playAndRecordOptions` in the + Swift SDK. Previously only `allowBluetooth` and `mixWithOthers` were requested, + so A2DP output devices and AirPlay routes were unavailable during a call on this + platform but available on others. + + When `preferSpeakerOutput` is set, `defaultToSpeaker` is now requested as well. + The `videoChat` mode implies a speaker route, but iOS may rewrite the mode when + Voice Processing I/O is instantiated - the Swift SDK observed it switching to + `voiceChat`, which routes to the receiver. Requesting the option explicitly + keeps the speaker route across that rewrite. + + This affects the defaults used by `setupIOSAudioManagement` and the deprecated + `getDefaultAppleAudioConfigurationForMode`. A custom `IOSAudioSessionPolicy` or + `AppleAudioConfiguration` is unaffected - those supply their own options. + +- iOS: pick the audio session mode based on Apple Voice Processing I/O state. - [#455](https://github.com/livekit/client-sdk-react-native/pull/455) ([@davidliu](https://github.com/davidliu)) + + iOS applies a reduced, call-tuned speaker gain while capture is active under the + `voiceChat`/`videoChat` session modes. Apple Voice Processing I/O compensates + with its own loudness stage, so with VPIO off remote audio played back + noticeably quieter. + + `LiveKitWebRTC` 144.7559.15 reports the resolved VPIO state to the audio device + module's `willEnableEngine` hook. The default recording configuration now uses + that: with VPIO running it keeps `voiceChat`/`videoChat` as before, and with VPIO + off (for example after `AudioDeviceModule.setVoiceProcessingEnabled(false)`) it + switches to the `default` mode, which keeps media gain. That mode routes to the + receiver, so `preferSpeakerOutput` is expressed through the `defaultToSpeaker` + category option instead of the implicit routing the chat modes provide. This + matches what the LiveKit Swift SDK already does. + + `IOSAudioSessionPolicy` gains an optional `recordingWithoutVoiceProcessing` + configuration for the VPIO-off case. Policies that omit it keep using their + `recording` configuration for both, so existing setups are unaffected. + `AudioEngineConfigurationState`, passed to the deprecated + `setupIOSAudioManagement` callback form, gains a matching + `isVoiceProcessingEnabled` field. + + Requires `@livekit/react-native-webrtc` with the five-argument `willEnableEngine` + delegate method. Older versions crash with an unrecognized selector when the + audio engine first enables. + ## 2.12.0 ### Minor Changes diff --git a/docs/assets/search.js b/docs/assets/search.js index 8355a255..48376c3b 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "eJy1nd1z2zYSwP8X+VWTcvlNv6VpctdpevEl19yDJ9OhKVjmWSJ1JOXEzeR/vwFIiQtgIS1F31M7EfYDwI8LcBcGvy+a+mu7uL79vngsq9XiGvx0uajyrVhcL17vV2X9SbRtWVeL5WLfbBbXi2KTt61of8I/vnrotpvF8vDb4nqx+LE8aIzAP2os6qrtmn3R1c15hVd6a6R8udjljag608fRqO+FKbZ6X673jVCNeYZ7gXwQuNz2WnSq2Yd9t9t3LcP4WnTKbH2UuNx6KzaiwA4w7PcyyIWZHnSvd7tNP/RvhnHNOxZRV63ocimsnCkM4Vk+/SLu8/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JvWa+WqcjQFmPutYi8nhwEkn5mkXdXW7NtlQnzG7DF//jnsJs9y+n8gJx8Nk1GnnBFyt5sXDWel7Urce4sIjXh6Zqev+0mLcUjy/3P7ggMfQ92W9OuQHsZP7iuvbLz9+/D/dyKNn"; \ No newline at end of file diff --git a/docs/classes/AudioSession.html b/docs/classes/AudioSession.html index be549477..f451c75a 100644 --- a/docs/classes/AudioSession.html +++ b/docs/classes/AudioSession.html @@ -1,4 +1,4 @@ -AudioSession | LiveKit React Native Client SDK - v2.12.0
LiveKit React Native Client SDK - v2.12.0
    Preparing search index...

    Class AudioSession

    Index

    Constructors

    constructor +AudioSession | LiveKit React Native Client SDK - v3.0.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 3474aab2..57cfdaa1 100644 --- a/docs/classes/RNE2EEManager.html +++ b/docs/classes/RNE2EEManager.html @@ -1,4 +1,4 @@ -RNE2EEManager | LiveKit React Native Client SDK - v2.12.0
    LiveKit React Native Client SDK - v2.12.0
      Preparing search index...

      Class RNE2EEManagerExperimental

      Hierarchy

      • TypedEventEmitter<E2EEManagerCallbacks, this>
        • RNE2EEManager

      Implements

      • BaseE2EEManager
      Index

      Constructors

      constructor +RNE2EEManager | LiveKit React Native Client SDK - v3.0.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 ee61c5e7..c6765e57 100644 --- a/docs/classes/RNKeyProvider.html +++ b/docs/classes/RNKeyProvider.html @@ -1,4 +1,4 @@ -RNKeyProvider | LiveKit React Native Client SDK - v2.12.0
      LiveKit React Native Client SDK - v2.12.0
        Preparing search index...

        Class RNKeyProviderExperimental

        Hierarchy

        • BaseKeyProvider
          • RNKeyProvider
        Index

        Constructors

        constructor +RNKeyProvider | LiveKit React Native Client SDK - v3.0.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 cb5429d5..1f3e7781 100644 --- a/docs/functions/BarVisualizer.html +++ b/docs/functions/BarVisualizer.html @@ -1,7 +1,7 @@ -BarVisualizer | LiveKit React Native Client SDK - v2.12.0
        LiveKit React Native Client SDK - v2.12.0
          Preparing search index...

          Function BarVisualizer

          Visualizes audio signals from a TrackReference as bars. +BarVisualizer | LiveKit React Native Client SDK - v3.0.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 3f71e421..0776c8fd 100644 --- a/docs/functions/LiveKitRoom.html +++ b/docs/functions/LiveKitRoom.html @@ -1,7 +1,7 @@ -LiveKitRoom | LiveKit React Native Client SDK - v2.12.0
          LiveKit React Native Client SDK - v2.12.0
            Preparing search index...

            Function LiveKitRoom

            • The LiveKitRoom component provides the room context to all its child components. +LiveKitRoom | LiveKit React Native Client SDK - v3.0.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 34e7cb3f..2dfd98d0 100644 --- a/docs/functions/VideoView.html +++ b/docs/functions/VideoView.html @@ -1,2 +1,2 @@ -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.

                -
              +VideoView | LiveKit React Native Client SDK - v3.0.0
              LiveKit React Native Client SDK - v3.0.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 7197584d..69e5c5ad 100644 --- a/docs/functions/getDefaultAppleAudioConfigurationForMode.html +++ b/docs/functions/getDefaultAppleAudioConfigurationForMode.html @@ -1,5 +1,7 @@ -getDefaultAppleAudioConfigurationForMode | LiveKit React Native Client SDK - v2.12.0
                LiveKit React Native Client SDK - v2.12.0
                  Preparing search index...

                  Function getDefaultAppleAudioConfigurationForMode

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

                    Function registerGlobals

                    Returns void

                    diff --git a/docs/functions/setLogLevel.html b/docs/functions/setLogLevel.html index 14be6942..c4d37bea 100644 --- a/docs/functions/setLogLevel.html +++ b/docs/functions/setLogLevel.html @@ -1,3 +1,3 @@ -setLogLevel | LiveKit React Native Client SDK - v2.12.0
                    LiveKit React Native Client SDK - v2.12.0
                      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 - v3.0.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 0e08de1c..393b1d54 100644 --- a/docs/functions/setupIOSAudioManagement.html +++ b/docs/functions/setupIOSAudioManagement.html @@ -1,4 +1,4 @@ -setupIOSAudioManagement | LiveKit React Native Client SDK - v2.12.0
                      LiveKit React Native Client SDK - v2.12.0
                        Preparing search index...

                        Function setupIOSAudioManagement

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

                          +setupIOSAudioManagement | LiveKit React Native Client SDK - v3.0.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.

                            @@ -14,16 +14,16 @@

                            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.

                            +
                          • 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 +

                          • 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 42ae456f..8cc9f460 100644 --- a/docs/functions/sortParticipants.html +++ b/docs/functions/sortParticipants.html @@ -1,4 +1,4 @@ -sortParticipants | LiveKit React Native Client SDK - v2.12.0
                        LiveKit React Native Client SDK - v2.12.0
                          Preparing search index...

                          Function sortParticipants

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

                            +sortParticipants | LiveKit React Native Client SDK - v3.0.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 97c48ad9..2388ec7f 100644 --- a/docs/functions/useBarAnimator.html +++ b/docs/functions/useBarAnimator.html @@ -1 +1 @@ -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[]

                            +useBarAnimator | LiveKit React Native Client SDK - v3.0.0
                            LiveKit React Native Client SDK - v3.0.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 61f37f40..bdaf3e80 100644 --- a/docs/functions/useIOSAudioManagement.html +++ b/docs/functions/useIOSAudioManagement.html @@ -1,4 +1,4 @@ -useIOSAudioManagement | LiveKit React Native Client SDK - v2.12.0
                              LiveKit React Native Client SDK - v2.12.0
                                Preparing search index...

                                Function useIOSAudioManagement

                                • Parameters

                                  Returns void

                                  Use setupIOSAudioManagement instead. +useIOSAudioManagement | LiveKit React Native Client SDK - v3.0.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 @@ -10,4 +10,4 @@ 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.

                                    -
                                  +
                                diff --git a/docs/functions/useMultibandTrackVolume.html b/docs/functions/useMultibandTrackVolume.html index 55b9e5d9..eeab010b 100644 --- a/docs/functions/useMultibandTrackVolume.html +++ b/docs/functions/useMultibandTrackVolume.html @@ -1,3 +1,3 @@ -useMultibandTrackVolume | LiveKit React Native Client SDK - v2.12.0
                                LiveKit React Native Client SDK - v2.12.0
                                  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 - v3.0.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 521dc000..e7abd339 100644 --- a/docs/functions/useParticipant.html +++ b/docs/functions/useParticipant.html @@ -1,2 +1,2 @@ -useParticipant | LiveKit React Native Client SDK - v2.12.0
                                  LiveKit React Native Client SDK - v2.12.0
                                    Preparing search index...

                                    Function useParticipant

                                    +useParticipant | LiveKit React Native Client SDK - v3.0.0
                                    LiveKit React Native Client SDK - v3.0.0
                                      Preparing search index...

                                      Function useParticipant

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

                                        Function useRNE2EEManager

                                        +useRNE2EEManager | LiveKit React Native Client SDK - v3.0.0
                                        LiveKit React Native Client SDK - v3.0.0
                                          Preparing search index...

                                          Function useRNE2EEManager

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

                                            Function useRoom

                                            +useRoom | LiveKit React Native Client SDK - v3.0.0
                                            LiveKit React Native Client SDK - v3.0.0
                                              Preparing search index...

                                              Function useRoom

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

                                                Function useTrackVolume

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

                                                  +useTrackVolume | LiveKit React Native Client SDK - v3.0.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 80358d0c..fa5cbb13 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -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

                                                  +LiveKit React Native Client SDK - v3.0.0
                                                  LiveKit React Native Client SDK - v3.0.0
                                                    Preparing search index...

                                                    LiveKit React Native Client SDK - v3.0.0

                                                    Hierarchy Summary

                                                    diff --git a/docs/index.html b/docs/index.html index 4484d694..df2e54c2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -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

                                                      +LiveKit React Native Client SDK - v3.0.0
                                                      +
                                                      diff --git a/docs/interfaces/BarVisualizerProps.html b/docs/interfaces/BarVisualizerProps.html index 142f90f3..44768bd0 100644 --- a/docs/interfaces/BarVisualizerProps.html +++ b/docs/interfaces/BarVisualizerProps.html @@ -1,9 +1,9 @@ -BarVisualizerProps | LiveKit React Native Client SDK - v2.12.0
                                                      LiveKit React Native Client SDK - v2.12.0
                                                        Preparing search index...

                                                        Interface BarVisualizerPropsBeta

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

                                                        Properties

                                                        barCount? +BarVisualizerProps | LiveKit React Native Client SDK - v3.0.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 d5b6bdca..9f56325e 100644 --- a/docs/interfaces/LiveKitRoomProps.html +++ b/docs/interfaces/LiveKitRoomProps.html @@ -1,4 +1,4 @@ -LiveKitRoomProps | LiveKit React Native Client SDK - v2.12.0
                                                        LiveKit React Native Client SDK - v2.12.0
                                                          Preparing search index...

                                                          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 - v3.0.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.

                                                          false

                                                          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.

                                                          false

                                                          +
                                                          diff --git a/docs/interfaces/MultiBandTrackVolumeOptions.html b/docs/interfaces/MultiBandTrackVolumeOptions.html index 6664a634..5ec69d01 100644 --- a/docs/interfaces/MultiBandTrackVolumeOptions.html +++ b/docs/interfaces/MultiBandTrackVolumeOptions.html @@ -1,10 +1,10 @@ -MultiBandTrackVolumeOptions | LiveKit React Native Client SDK - v2.12.0
                                                          LiveKit React Native Client SDK - v2.12.0
                                                            Preparing search index...

                                                            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 - v3.0.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 0c5f5a7d..75a06085 100644 --- a/docs/interfaces/ParticipantState.html +++ b/docs/interfaces/ParticipantState.html @@ -1,5 +1,5 @@ -ParticipantState | LiveKit React Native Client SDK - v2.12.0
                                                            LiveKit React Native Client SDK - v2.12.0
                                                              Preparing search index...

                                                              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 - v3.0.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 28ada3d7..016c83f9 100644 --- a/docs/interfaces/RNE2EEManagerState.html +++ b/docs/interfaces/RNE2EEManagerState.html @@ -1,3 +1,3 @@ -RNE2EEManagerState | LiveKit React Native Client SDK - v2.12.0
                                                              LiveKit React Native Client SDK - v2.12.0
                                                                Preparing search index...

                                                                Interface RNE2EEManagerState

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

                                                                Properties

                                                                e2eeManager +RNE2EEManagerState | LiveKit React Native Client SDK - v3.0.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 e2900d99..276980c2 100644 --- a/docs/interfaces/RegisterGlobalsOptions.html +++ b/docs/interfaces/RegisterGlobalsOptions.html @@ -1,8 +1,8 @@ -RegisterGlobalsOptions | LiveKit React Native Client SDK - v2.12.0
                                                                LiveKit React Native Client SDK - v2.12.0
                                                                  Preparing search index...

                                                                  Interface RegisterGlobalsOptions

                                                                  interface RegisterGlobalsOptions {
                                                                      autoConfigureAudioSession?: boolean;
                                                                  }
                                                                  Index

                                                                  Properties

                                                                  autoConfigureAudioSession? +RegisterGlobalsOptions | LiveKit React Native Client SDK - v3.0.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 950d87ce..a1e32d2c 100644 --- a/docs/interfaces/RoomOptions.html +++ b/docs/interfaces/RoomOptions.html @@ -1,2 +1,2 @@ -RoomOptions | LiveKit React Native Client SDK - v2.12.0
                                                                  LiveKit React Native Client SDK - v2.12.0
                                                                    Preparing search index...

                                                                    Interface RoomOptions

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

                                                                    Properties

                                                                    Properties

                                                                    sortParticipants?: (participants: Participant[]) => void
                                                                    +RoomOptions | LiveKit React Native Client SDK - v3.0.0
                                                                    LiveKit React Native Client SDK - v3.0.0
                                                                      Preparing search index...

                                                                      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 56e596f1..48f1d2b2 100644 --- a/docs/interfaces/RoomState.html +++ b/docs/interfaces/RoomState.html @@ -1,5 +1,5 @@ -RoomState | LiveKit React Native Client SDK - v2.12.0
                                                                      LiveKit React Native Client SDK - v2.12.0
                                                                        Preparing search index...

                                                                        Interface RoomState

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

                                                                        Properties

                                                                        audioTracks +RoomState | LiveKit React Native Client SDK - v3.0.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 9c62f9a6..8cb769de 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -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

                                                                            Classes

                                                                            AudioSession
                                                                            RNE2EEManager
                                                                            RNKeyProvider

                                                                            Interfaces

                                                                            BarVisualizerProps
                                                                            LiveKitRoomProps
                                                                            MultiBandTrackVolumeOptions
                                                                            ParticipantState
                                                                            RegisterGlobalsOptions
                                                                            RNE2EEManagerState
                                                                            RoomOptions
                                                                            RoomState

                                                                            Type Aliases

                                                                            AndroidAudioTypeOptions
                                                                            AppleAudioCategory
                                                                            AppleAudioCategoryOption
                                                                            AppleAudioConfiguration
                                                                            AppleAudioMode
                                                                            AudioConfiguration
                                                                            AudioEngineConfigurationState
                                                                            AudioTrackState
                                                                            BarVisualizerOptions
                                                                            IOSAudioSessionPolicy
                                                                            LogLevel
                                                                            OnConfigureNativeAudio
                                                                            Props
                                                                            RNKeyProviderOptions
                                                                            SetLogLevelOptions
                                                                            UseRNE2EEManagerOptions
                                                                            VideoTrackProps

                                                                            Variables

                                                                            AndroidAudioTypePresets
                                                                            log
                                                                            VideoTrack

                                                                            Functions

                                                                            BarVisualizer
                                                                            getDefaultAppleAudioConfigurationForMode
                                                                            LiveKitRoom
                                                                            registerGlobals
                                                                            setLogLevel
                                                                            setupIOSAudioManagement
                                                                            sortParticipants
                                                                            useBarAnimator
                                                                            useIOSAudioManagement
                                                                            useMultibandTrackVolume
                                                                            useParticipant
                                                                            useRNE2EEManager
                                                                            useRoom
                                                                            useTrackVolume
                                                                            VideoView
                                                                            +LiveKit React Native Client SDK - v3.0.0
                                                                            LiveKit React Native Client SDK - v3.0.0
                                                                              Preparing search index...

                                                                                LiveKit React Native Client SDK - v3.0.0

                                                                                Classes

                                                                                AudioSession
                                                                                RNE2EEManager
                                                                                RNKeyProvider

                                                                                Interfaces

                                                                                BarVisualizerProps
                                                                                LiveKitRoomProps
                                                                                MultiBandTrackVolumeOptions
                                                                                ParticipantState
                                                                                RegisterGlobalsOptions
                                                                                RNE2EEManagerState
                                                                                RoomOptions
                                                                                RoomState

                                                                                Type Aliases

                                                                                AndroidAudioTypeOptions
                                                                                AppleAudioCategory
                                                                                AppleAudioCategoryOption
                                                                                AppleAudioConfiguration
                                                                                AppleAudioMode
                                                                                AudioConfiguration
                                                                                AudioEngineConfigurationState
                                                                                AudioTrackState
                                                                                BarVisualizerOptions
                                                                                IOSAudioSessionPolicy
                                                                                LogLevel
                                                                                OnConfigureNativeAudio
                                                                                Props
                                                                                RNKeyProviderOptions
                                                                                SetLogLevelOptions
                                                                                UseRNE2EEManagerOptions
                                                                                VideoTrackProps

                                                                                Variables

                                                                                AndroidAudioTypePresets
                                                                                log
                                                                                VideoTrack

                                                                                Functions

                                                                                BarVisualizer
                                                                                getDefaultAppleAudioConfigurationForMode
                                                                                LiveKitRoom
                                                                                registerGlobals
                                                                                setLogLevel
                                                                                setupIOSAudioManagement
                                                                                sortParticipants
                                                                                useBarAnimator
                                                                                useIOSAudioManagement
                                                                                useMultibandTrackVolume
                                                                                useParticipant
                                                                                useRNE2EEManager
                                                                                useRoom
                                                                                useTrackVolume
                                                                                VideoView
                                                                                diff --git a/docs/types/AndroidAudioTypeOptions.html b/docs/types/AndroidAudioTypeOptions.html index dce0aa16..2341b382 100644 --- a/docs/types/AndroidAudioTypeOptions.html +++ b/docs/types/AndroidAudioTypeOptions.html @@ -1,4 +1,4 @@ -AndroidAudioTypeOptions | LiveKit React Native Client SDK - v2.12.0
                                                                                LiveKit React Native Client SDK - v2.12.0
                                                                                  Preparing search index...

                                                                                  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 - v3.0.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 d8766552..3730b990 100644 --- a/docs/types/AppleAudioCategory.html +++ b/docs/types/AppleAudioCategory.html @@ -1 +1 @@ -AppleAudioCategory | LiveKit React Native Client SDK - v2.12.0
                                                                                  LiveKit React Native Client SDK - v2.12.0
                                                                                    Preparing search index...

                                                                                    Type Alias AppleAudioCategory

                                                                                    AppleAudioCategory:
                                                                                        | "soloAmbient"
                                                                                        | "playback"
                                                                                        | "record"
                                                                                        | "playAndRecord"
                                                                                        | "multiRoute"
                                                                                    +AppleAudioCategory | LiveKit React Native Client SDK - v3.0.0
                                                                                    LiveKit React Native Client SDK - v3.0.0
                                                                                      Preparing search index...

                                                                                      Type Alias AppleAudioCategory

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

                                                                                        Type Alias AppleAudioCategoryOption

                                                                                        AppleAudioCategoryOption:
                                                                                            | "mixWithOthers"
                                                                                            | "duckOthers"
                                                                                            | "interruptSpokenAudioAndMixWithOthers"
                                                                                            | "allowBluetooth"
                                                                                            | "allowBluetoothA2DP"
                                                                                            | "allowAirPlay"
                                                                                            | "defaultToSpeaker"
                                                                                        +AppleAudioCategoryOption | LiveKit React Native Client SDK - v3.0.0
                                                                                        LiveKit React Native Client SDK - v3.0.0
                                                                                          Preparing search index...

                                                                                          Type Alias AppleAudioCategoryOption

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

                                                                                            Type Alias AppleAudioConfiguration

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

                                                                                            Properties

                                                                                            audioCategory? +AppleAudioConfiguration | LiveKit React Native Client SDK - v3.0.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 7745df6c..ed693d93 100644 --- a/docs/types/AppleAudioMode.html +++ b/docs/types/AppleAudioMode.html @@ -1 +1 @@ -AppleAudioMode | LiveKit React Native Client SDK - v2.12.0
                                                                                            LiveKit React Native Client SDK - v2.12.0
                                                                                              Preparing search index...

                                                                                              Type Alias AppleAudioMode

                                                                                              AppleAudioMode:
                                                                                                  | "default"
                                                                                                  | "gameChat"
                                                                                                  | "measurement"
                                                                                                  | "moviePlayback"
                                                                                                  | "spokenAudio"
                                                                                                  | "videoChat"
                                                                                                  | "videoRecording"
                                                                                                  | "voiceChat"
                                                                                                  | "voicePrompt"
                                                                                              +AppleAudioMode | LiveKit React Native Client SDK - v3.0.0
                                                                                              LiveKit React Native Client SDK - v3.0.0
                                                                                                Preparing search index...

                                                                                                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 f27e2bb0..7f2542bd 100644 --- a/docs/types/AudioConfiguration.html +++ b/docs/types/AudioConfiguration.html @@ -1,4 +1,4 @@ -AudioConfiguration | LiveKit React Native Client SDK - v2.12.0
                                                                                                LiveKit React Native Client SDK - v2.12.0
                                                                                                  Preparing search index...

                                                                                                  Type Alias AudioConfiguration

                                                                                                  Configuration for the underlying AudioSession.

                                                                                                  +AudioConfiguration | LiveKit React Native Client SDK - v3.0.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 f9866f3b..fa94f8d9 100644 --- a/docs/types/AudioEngineConfigurationState.html +++ b/docs/types/AudioEngineConfigurationState.html @@ -1,4 +1,9 @@ -AudioEngineConfigurationState | LiveKit React Native Client SDK - v2.12.0
                                                                                                  LiveKit React Native Client SDK - v2.12.0
                                                                                                    Preparing search index...

                                                                                                    Type Alias AudioEngineConfigurationState

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

                                                                                                    Properties

                                                                                                    isPlayoutEnabled +AudioEngineConfigurationState | LiveKit React Native Client SDK - v3.0.0

                                                                                                    Type Alias AudioEngineConfigurationState

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

                                                                                                    Properties

                                                                                                    isPlayoutEnabled: boolean
                                                                                                    isRecordingEnabled: boolean
                                                                                                    preferSpeakerOutput: boolean
                                                                                                    +

                                                                                                    Properties

                                                                                                    isPlayoutEnabled: boolean
                                                                                                    isRecordingEnabled: boolean
                                                                                                    isVoiceProcessingEnabled: boolean

                                                                                                    Whether Apple Voice Processing I/O is running for this engine state. The +voiceChat/videoChat modes engage iOS's call-tuned speaker gain, which +only VPIO compensates for, so a configuration derived for recording should +account for this.

                                                                                                    +
                                                                                                    preferSpeakerOutput: boolean
                                                                                                    diff --git a/docs/types/AudioTrackState.html b/docs/types/AudioTrackState.html index ccdd417f..d0200bd4 100644 --- a/docs/types/AudioTrackState.html +++ b/docs/types/AudioTrackState.html @@ -1,6 +1,6 @@ -AudioTrackState | LiveKit React Native Client SDK - v2.12.0
                                                                                                    LiveKit React Native Client SDK - v2.12.0
                                                                                                      Preparing search index...

                                                                                                      Type Alias AudioTrackState

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

                                                                                                      Retained only for the legacy useIOSAudioManagement hook and +AudioTrackState | LiveKit React Native Client SDK - v3.0.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 78eb8a0e..611fc596 100644 --- a/docs/types/BarVisualizerOptions.html +++ b/docs/types/BarVisualizerOptions.html @@ -1,8 +1,8 @@ -BarVisualizerOptions | LiveKit React Native Client SDK - v2.12.0
                                                                                                      LiveKit React Native Client SDK - v2.12.0
                                                                                                        Preparing search index...

                                                                                                        Type Alias BarVisualizerOptions

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

                                                                                                        Properties

                                                                                                        barBorderRadius? +BarVisualizerOptions | LiveKit React Native Client SDK - v3.0.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 index d8f32c10..2c8bd633 100644 --- a/docs/types/IOSAudioSessionPolicy.html +++ b/docs/types/IOSAudioSessionPolicy.html @@ -1,7 +1,15 @@ -IOSAudioSessionPolicy | LiveKit React Native Client SDK - v2.12.0
                                                                                                        LiveKit React Native Client SDK - v2.12.0
                                                                                                          Preparing search index...

                                                                                                          Type Alias IOSAudioSessionPolicy

                                                                                                          Static recording/playout policy for setupIOSAudioManagement.

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

                                                                                                          Properties

                                                                                                          deactivateOnStop? +IOSAudioSessionPolicy | LiveKit React Native Client SDK - v3.0.0

                                                                                                          Type Alias IOSAudioSessionPolicy

                                                                                                          Static recording/playout policy for setupIOSAudioManagement.

                                                                                                          +
                                                                                                          Index

                                                                                                          Properties

                                                                                                          deactivateOnStop?: boolean

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

                                                                                                          -
                                                                                                          +
                                                                                                          recordingWithoutVoiceProcessing?: AppleAudioConfiguration

                                                                                                          Recording configuration to apply while Apple Voice Processing I/O is off, +for example after AudioDeviceModule.setVoiceProcessingEnabled(false). +A policy whose recording config uses voiceChat/videoChat should +set a default-mode variant here, otherwise remote audio plays back +noticeably quieter without VPIO to compensate for the call-tuned gain. +Defaults to recording, so a policy that does not set this behaves +exactly as before.

                                                                                                          +
                                                                                                          diff --git a/docs/types/LogLevel.html b/docs/types/LogLevel.html index 89116376..63aed320 100644 --- a/docs/types/LogLevel.html +++ b/docs/types/LogLevel.html @@ -1 +1 @@ -LogLevel | LiveKit React Native Client SDK - v2.12.0
                                                                                                          LiveKit React Native Client SDK - v2.12.0
                                                                                                            Preparing search index...

                                                                                                            Type Alias LogLevel

                                                                                                            LogLevel: Parameters<typeof setClientSdkLogLevel>[0]
                                                                                                            +LogLevel | LiveKit React Native Client SDK - v3.0.0
                                                                                                            LiveKit React Native Client SDK - v3.0.0
                                                                                                              Preparing search index...

                                                                                                              Type Alias LogLevel

                                                                                                              LogLevel: Parameters<typeof setClientSdkLogLevel>[0]
                                                                                                              diff --git a/docs/types/OnConfigureNativeAudio.html b/docs/types/OnConfigureNativeAudio.html index 9a9cd3b2..15f84b53 100644 --- a/docs/types/OnConfigureNativeAudio.html +++ b/docs/types/OnConfigureNativeAudio.html @@ -1,3 +1,3 @@ -OnConfigureNativeAudio | LiveKit React Native Client SDK - v2.12.0
                                                                                                              LiveKit React Native Client SDK - v2.12.0
                                                                                                                Preparing search index...

                                                                                                                Type Alias OnConfigureNativeAudio

                                                                                                                OnConfigureNativeAudio: (
                                                                                                                    configurationState: AudioEngineConfigurationState,
                                                                                                                ) => AppleAudioConfiguration

                                                                                                                Type Declaration

                                                                                                                Unsafe. Prefer IOSAudioSessionPolicy or the default +OnConfigureNativeAudio | LiveKit React Native Client SDK - v3.0.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 e363c1d9..1cc1600d 100644 --- a/docs/types/Props.html +++ b/docs/types/Props.html @@ -1,7 +1,7 @@ -Props | LiveKit React Native Client SDK - v2.12.0
                                                                                                                LiveKit React Native Client SDK - v2.12.0
                                                                                                                  Preparing search index...

                                                                                                                  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 - v3.0.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 eefd65fb..a03cade0 100644 --- a/docs/types/RNKeyProviderOptions.html +++ b/docs/types/RNKeyProviderOptions.html @@ -1,2 +1,2 @@ -RNKeyProviderOptions | LiveKit React Native Client SDK - v2.12.0
                                                                                                                  LiveKit React Native Client SDK - v2.12.0
                                                                                                                    Preparing search index...

                                                                                                                    Type Alias RNKeyProviderOptions

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

                                                                                                                    Options for construction an RNKeyProvider

                                                                                                                    -
                                                                                                                    +RNKeyProviderOptions | LiveKit React Native Client SDK - v3.0.0
                                                                                                                    LiveKit React Native Client SDK - v3.0.0
                                                                                                                      Preparing search index...

                                                                                                                      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 3a0aa69d..59304da2 100644 --- a/docs/types/SetLogLevelOptions.html +++ b/docs/types/SetLogLevelOptions.html @@ -1,2 +1,2 @@ -SetLogLevelOptions | LiveKit React Native Client SDK - v2.12.0
                                                                                                                      LiveKit React Native Client SDK - v2.12.0
                                                                                                                        Preparing search index...

                                                                                                                        Type Alias SetLogLevelOptions

                                                                                                                        type SetLogLevelOptions = {
                                                                                                                            liveKitClientLogLevel?: LogLevel;
                                                                                                                        }
                                                                                                                        Index

                                                                                                                        Properties

                                                                                                                        liveKitClientLogLevel?: LogLevel
                                                                                                                        +SetLogLevelOptions | LiveKit React Native Client SDK - v3.0.0
                                                                                                                        LiveKit React Native Client SDK - v3.0.0
                                                                                                                          Preparing search index...

                                                                                                                          Type Alias SetLogLevelOptions

                                                                                                                          type SetLogLevelOptions = {
                                                                                                                              liveKitClientLogLevel?: LogLevel;
                                                                                                                          }
                                                                                                                          Index

                                                                                                                          Properties

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

                                                                                                                            Type Alias UseRNE2EEManagerOptions

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

                                                                                                                            Properties

                                                                                                                            keyProviderOptions? +UseRNE2EEManagerOptions | LiveKit React Native Client SDK - v3.0.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 cdb98fb6..12503034 100644 --- a/docs/types/VideoTrackProps.html +++ b/docs/types/VideoTrackProps.html @@ -1,5 +1,5 @@ -VideoTrackProps | LiveKit React Native Client SDK - v2.12.0
                                                                                                                            LiveKit React Native Client SDK - v2.12.0
                                                                                                                              Preparing search index...

                                                                                                                              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 - v3.0.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 66a824b6..54a8c9df 100644 --- a/docs/variables/AndroidAudioTypePresets.html +++ b/docs/variables/AndroidAudioTypePresets.html @@ -1,3 +1,3 @@ -AndroidAudioTypePresets | LiveKit React Native Client SDK - v2.12.0
                                                                                                                              LiveKit React Native Client SDK - v2.12.0
                                                                                                                                Preparing search index...

                                                                                                                                Variable AndroidAudioTypePresetsConst

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

                                                                                                                                Type Declaration

                                                                                                                                diff --git a/docs/variables/VideoTrack.html b/docs/variables/VideoTrack.html index 868b73d7..2c600dcb 100644 --- a/docs/variables/VideoTrack.html +++ b/docs/variables/VideoTrack.html @@ -1,5 +1,5 @@ -VideoTrack | LiveKit React Native Client SDK - v2.12.0
                                                                                                                                LiveKit React Native Client SDK - v2.12.0
                                                                                                                                  Preparing search index...

                                                                                                                                  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 - v3.0.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 54548c7e..0bb2b467 100644 --- a/docs/variables/log.html +++ b/docs/variables/log.html @@ -1 +1 @@ -log | LiveKit React Native Client SDK - v2.12.0
                                                                                                                                  LiveKit React Native Client SDK - v2.12.0
                                                                                                                                    Preparing search index...

                                                                                                                                    Variable logConst

                                                                                                                                    log: Logger = ...
                                                                                                                                    +log | LiveKit React Native Client SDK - v3.0.0
                                                                                                                                    LiveKit React Native Client SDK - v3.0.0
                                                                                                                                      Preparing search index...

                                                                                                                                      Variable logConst

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