diff --git a/.changeset/e2ee-local-cryptor-enabled.md b/.changeset/e2ee-local-cryptor-enabled.md deleted file mode 100644 index 8f25abcf..00000000 --- a/.changeset/e2ee-local-cryptor-enabled.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@livekit/react-native': patch ---- - -Add `setLocalParticipantCryptorEnabled` to `RNE2EEManager`, deprecate `setParticipantCryptorEnabled`, and set up the sender cryptor from the local E2EE setting diff --git a/CHANGELOG.md b/CHANGELOG.md index 7769f632..c965c0e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @livekit/react-native +## 3.2.1 + +### Patch Changes + +- Add `setLocalParticipantCryptorEnabled` to `RNE2EEManager`, deprecate `setParticipantCryptorEnabled`, and set up the sender cryptor from the local E2EE setting - [#485](https://github.com/livekit/client-sdk-react-native/pull/485) ([@lukasIO](https://github.com/lukasIO)) + ## 3.2.0 ### Minor Changes diff --git a/docs/classes/AudioSession.html b/docs/classes/AudioSession.html index 76b4859c..1099564a 100644 --- a/docs/classes/AudioSession.html +++ b/docs/classes/AudioSession.html @@ -1,4 +1,4 @@ -AudioSession | LiveKit React Native Client SDK - v3.2.0
LiveKit React Native Client SDK - v3.2.0
    Preparing search index...

    Class AudioSession

    Index

    Constructors

    constructor +AudioSession | LiveKit React Native Client SDK - v3.2.1

    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 e36c4fe0..6d7b86af 100644 --- a/docs/classes/RNE2EEManager.html +++ b/docs/classes/RNE2EEManager.html @@ -1,10 +1,11 @@ -RNE2EEManager | LiveKit React Native Client SDK - v3.2.0
    LiveKit React Native Client SDK - v3.2.0
      Preparing search index...

      Class RNE2EEManagerExperimental

      Hierarchy

      • TypedEventEmitter<E2EEManagerCallbacks, this>
        • RNE2EEManager

      Implements

      • BaseE2EEManager
      Index

      Constructors

      constructor +RNE2EEManager | LiveKit React Native Client SDK - v3.2.1

      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

        use setLocalParticipantCryptorEnabled

        +
      • 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 d0174f65..45897d2f 100644 --- a/docs/classes/RNKeyProvider.html +++ b/docs/classes/RNKeyProvider.html @@ -1,4 +1,4 @@ -RNKeyProvider | LiveKit React Native Client SDK - v3.2.0
      LiveKit React Native Client SDK - v3.2.0
        Preparing search index...

        Class RNKeyProviderExperimental

        Hierarchy

        • BaseKeyProvider
          • RNKeyProvider
        Index

        Constructors

        constructor +RNKeyProvider | LiveKit React Native Client SDK - v3.2.1

        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 30d4afee..f0c8679f 100644 --- a/docs/functions/BarVisualizer.html +++ b/docs/functions/BarVisualizer.html @@ -1,7 +1,7 @@ -BarVisualizer | LiveKit React Native Client SDK - v3.2.0
        LiveKit React Native Client SDK - v3.2.0
          Preparing search index...

          Function BarVisualizer

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

          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 69242054..abf784a0 100644 --- a/docs/functions/LiveKitRoom.html +++ b/docs/functions/LiveKitRoom.html @@ -1,7 +1,7 @@ -LiveKitRoom | LiveKit React Native Client SDK - v3.2.0
          LiveKit React Native Client SDK - v3.2.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.2.1

              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 0fd75867..da49c5e4 100644 --- a/docs/functions/VideoView.html +++ b/docs/functions/VideoView.html @@ -1,2 +1,2 @@ -VideoView | LiveKit React Native Client SDK - v3.2.0
            LiveKit React Native Client SDK - v3.2.0
              Preparing search index...

              Function VideoView

              • Parameters

                Returns Element

                use VideoTrack and VideoTrackProps instead.

                -
              +VideoView | LiveKit React Native Client SDK - v3.2.1
              LiveKit React Native Client SDK - v3.2.1
                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 d1b621f6..de23f82d 100644 --- a/docs/functions/getDefaultAppleAudioConfigurationForMode.html +++ b/docs/functions/getDefaultAppleAudioConfigurationForMode.html @@ -1,7 +1,7 @@ -getDefaultAppleAudioConfigurationForMode | LiveKit React Native Client SDK - v3.2.0
                LiveKit React Native Client SDK - v3.2.0
                  Preparing search index...

                  Function getDefaultAppleAudioConfigurationForMode

                  diff --git a/docs/functions/registerGlobals.html b/docs/functions/registerGlobals.html index c2c28502..8a64e9ec 100644 --- a/docs/functions/registerGlobals.html +++ b/docs/functions/registerGlobals.html @@ -1,4 +1,4 @@ -registerGlobals | LiveKit React Native Client SDK - v3.2.0
                  LiveKit React Native Client SDK - v3.2.0
                    Preparing search index...

                    Function registerGlobals

                    Returns void

                    diff --git a/docs/functions/setLogLevel.html b/docs/functions/setLogLevel.html index 2b1e153e..d16ec8c1 100644 --- a/docs/functions/setLogLevel.html +++ b/docs/functions/setLogLevel.html @@ -1,3 +1,3 @@ -setLogLevel | LiveKit React Native Client SDK - v3.2.0
                    LiveKit React Native Client SDK - v3.2.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.2.1

                        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 d91e7c87..04f62fa4 100644 --- a/docs/functions/setupIOSAudioManagement.html +++ b/docs/functions/setupIOSAudioManagement.html @@ -1,4 +1,4 @@ -setupIOSAudioManagement | LiveKit React Native Client SDK - v3.2.0
                      LiveKit React Native Client SDK - v3.2.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.2.1

                          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 189c6be4..91f68d73 100644 --- a/docs/functions/sortParticipants.html +++ b/docs/functions/sortParticipants.html @@ -1,4 +1,4 @@ -sortParticipants | LiveKit React Native Client SDK - v3.2.0
                        LiveKit React Native Client SDK - v3.2.0
                          Preparing search index...

                          Function sortParticipants

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

                            +sortParticipants | LiveKit React Native Client SDK - v3.2.1

                            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 9681f6f9..4f1495a0 100644 --- a/docs/functions/useBarAnimator.html +++ b/docs/functions/useBarAnimator.html @@ -1 +1 @@ -useBarAnimator | LiveKit React Native Client SDK - v3.2.0
                          LiveKit React Native Client SDK - v3.2.0
                            Preparing search index...

                            Function useBarAnimator

                            • Parameters

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

                              Returns number[]

                            +useBarAnimator | LiveKit React Native Client SDK - v3.2.1
                            LiveKit React Native Client SDK - v3.2.1
                              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 9be3782c..c15c523b 100644 --- a/docs/functions/useIOSAudioManagement.html +++ b/docs/functions/useIOSAudioManagement.html @@ -1,4 +1,4 @@ -useIOSAudioManagement | LiveKit React Native Client SDK - v3.2.0
                              LiveKit React Native Client SDK - v3.2.0
                                Preparing search index...

                                Function useIOSAudioManagement

                                • Parameters

                                  Returns void

                                  Use setupIOSAudioManagement instead. +useIOSAudioManagement | LiveKit React Native Client SDK - v3.2.1

                                  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 32ba03af..944e247e 100644 --- a/docs/functions/useMultibandTrackVolume.html +++ b/docs/functions/useMultibandTrackVolume.html @@ -1,3 +1,3 @@ -useMultibandTrackVolume | LiveKit React Native Client SDK - v3.2.0
                                LiveKit React Native Client SDK - v3.2.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.2.1

                                    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 23417228..19a59440 100644 --- a/docs/functions/useParticipant.html +++ b/docs/functions/useParticipant.html @@ -1,2 +1,2 @@ -useParticipant | LiveKit React Native Client SDK - v3.2.0
                                  LiveKit React Native Client SDK - v3.2.0
                                    Preparing search index...

                                    Function useParticipant

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

                                      Function useParticipant

                                      diff --git a/docs/functions/useRNE2EEManager.html b/docs/functions/useRNE2EEManager.html index ed5b5f79..653af5ea 100644 --- a/docs/functions/useRNE2EEManager.html +++ b/docs/functions/useRNE2EEManager.html @@ -1 +1 @@ -useRNE2EEManager | LiveKit React Native Client SDK - v3.2.0
                                      LiveKit React Native Client SDK - v3.2.0
                                        Preparing search index...

                                        Function useRNE2EEManager

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

                                          Function useRNE2EEManager

                                          diff --git a/docs/functions/useRoom.html b/docs/functions/useRoom.html index 4eaab3c1..630abe52 100644 --- a/docs/functions/useRoom.html +++ b/docs/functions/useRoom.html @@ -1,2 +1,2 @@ -useRoom | LiveKit React Native Client SDK - v3.2.0
                                          LiveKit React Native Client SDK - v3.2.0
                                            Preparing search index...

                                            Function useRoom

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

                                              Function useRoom

                                              diff --git a/docs/functions/useTrackVolume.html b/docs/functions/useTrackVolume.html index ac102646..94ff5081 100644 --- a/docs/functions/useTrackVolume.html +++ b/docs/functions/useTrackVolume.html @@ -1,3 +1,3 @@ -useTrackVolume | LiveKit React Native Client SDK - v3.2.0
                                              LiveKit React Native Client SDK - v3.2.0
                                                Preparing search index...

                                                Function useTrackVolume

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

                                                  +useTrackVolume | LiveKit React Native Client SDK - v3.2.1

                                                  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 eae5fd79..903d1216 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -LiveKit React Native Client SDK - v3.2.0
                                                LiveKit React Native Client SDK - v3.2.0
                                                  Preparing search index...

                                                  LiveKit React Native Client SDK - v3.2.0

                                                  Hierarchy Summary

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

                                                    LiveKit React Native Client SDK - v3.2.1

                                                    Hierarchy Summary

                                                    diff --git a/docs/index.html b/docs/index.html index dc20ceac..efdb57ce 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -LiveKit React Native Client SDK - v3.2.0
                                                    LiveKit React Native Client SDK - v3.2.0
                                                      Preparing search index...

                                                      LiveKit React Native Client SDK - v3.2.0

                                                      +LiveKit React Native Client SDK - v3.2.1

                                                      LiveKit React Native Client SDK - v3.2.1

                                                      @@ -16,6 +16,7 @@

                                                      React Nativ
                                                      Important

                                                      If you're building Voice AI, LiveKit Agents is the SDK for code-first realtime voice agents. STT, LLM, TTS, turn detection, expressive speech, keyterm accuracy, tool usage, and telephony all come bundled in the framework. It's available in both Python and Node.js.

                                                      +

                                                      LiveKit Agents is a great fit for customer support, healthcare, financial services, and outbound calling. Try the live demos.

                                                      # agent.py
                                                      from livekit import agents
                                                      from livekit.agents import Agent, AgentServer, AgentSession, STTContextOptions, TurnHandlingOptions, inference

                                                      server = AgentServer()


                                                      @server.rtc_session(agent_name="my-agent")
                                                      async def my_agent(ctx: agents.JobContext):
                                                      session = AgentSession(
                                                      stt=inference.STT(model="deepgram/nova-3", language="multi"),
                                                      llm=inference.LLM(model="google/gemma-4-31b-it"),
                                                      tts=inference.TTS(model="inworld/inworld-tts-2", voice="Ashley"),
                                                      turn_handling=TurnHandlingOptions(turn_detection=inference.TurnDetector()),
                                                      stt_context_options=STTContextOptions(keyterms=["LiveKit", "Acme Corp"]),
                                                      expressive=True,
                                                      )
                                                      await session.start(room=ctx.room, agent=Agent(instructions="You are a helpful voice AI assistant."))
                                                      await session.generate_reply(instructions="Greet the user and offer your assistance.")


                                                      if __name__ == "__main__":
                                                      agents.cli.run_app(server)
                                                      @@ -215,6 +216,7 @@

                                                      +
                                                      diff --git a/docs/interfaces/BarVisualizerProps.html b/docs/interfaces/BarVisualizerProps.html index aa337532..15e2f41b 100644 --- a/docs/interfaces/BarVisualizerProps.html +++ b/docs/interfaces/BarVisualizerProps.html @@ -1,9 +1,9 @@ -BarVisualizerProps | LiveKit React Native Client SDK - v3.2.0

                                                      Interface BarVisualizerPropsBeta

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

                                                      Properties

                                                      barCount? +BarVisualizerProps | LiveKit React Native Client SDK - v3.2.1

                                                      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 60b79ecc..47e43d01 100644 --- a/docs/interfaces/LiveKitRoomProps.html +++ b/docs/interfaces/LiveKitRoomProps.html @@ -1,4 +1,4 @@ -LiveKitRoomProps | LiveKit React Native Client SDK - v3.2.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

                                                      audio? +LiveKitRoomProps | LiveKit React Native Client SDK - v3.2.1

                                                      Interface LiveKitRoomProps

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

                                                      Properties

                                                      Properties

                                                      audio?: boolean | AudioCaptureOptions

                                                      Publish audio immediately after connecting to your LiveKit room.

                                                      connect?: boolean

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

                                                      +
                                                      connect?: boolean

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

                                                      true

                                                      -
                                                      connectOptions?: RoomConnectOptions

                                                      Define options how to connect to the LiveKit server.

                                                      +
                                                      connectOptions?: RoomConnectOptions

                                                      Define options how to connect to the LiveKit server.

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

                                                      Options for when creating a new room. +

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

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

                                                      room?: Room

                                                      Optional room instance. +

                                                      room?: Room

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

                                                      -
                                                      screen?: boolean | ScreenShareCaptureOptions

                                                      Publish screen share immediately after connecting to your LiveKit room.

                                                      +
                                                      screen?: boolean | ScreenShareCaptureOptions

                                                      Publish screen share immediately after connecting to your LiveKit room.

                                                      serverUrl: string | undefined

                                                      URL to the LiveKit server. +

                                                      serverUrl: string | undefined

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

                                                      -
                                                      simulateParticipants?: number
                                                      token: string | undefined

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

                                                      simulateParticipants?: number
                                                      token: string | undefined

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

                                                      video?: boolean | VideoCaptureOptions

                                                      Publish video immediately after connecting to your LiveKit room.

                                                      +
                                                      video?: boolean | VideoCaptureOptions

                                                      Publish video immediately after connecting to your LiveKit room.

                                                      false

                                                      +
                                                      diff --git a/docs/interfaces/MultiBandTrackVolumeOptions.html b/docs/interfaces/MultiBandTrackVolumeOptions.html index 4d49a0ef..82911242 100644 --- a/docs/interfaces/MultiBandTrackVolumeOptions.html +++ b/docs/interfaces/MultiBandTrackVolumeOptions.html @@ -1,10 +1,10 @@ -MultiBandTrackVolumeOptions | LiveKit React Native Client SDK - v3.2.0
                                                      LiveKit React Native Client SDK - v3.2.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.2.1

                                                        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 ed22a445..c929be53 100644 --- a/docs/interfaces/ParticipantState.html +++ b/docs/interfaces/ParticipantState.html @@ -1,5 +1,5 @@ -ParticipantState | LiveKit React Native Client SDK - v3.2.0
                                                        LiveKit React Native Client SDK - v3.2.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.2.1

                                                          Interface ParticipantState

                                                          use useRemoteParticipant or useLocalParticipant instead

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

                                                          Properties

                                                          cameraPublication?: 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 31fc2a9b..37ce9160 100644 --- a/docs/interfaces/RNE2EEManagerState.html +++ b/docs/interfaces/RNE2EEManagerState.html @@ -1,3 +1,3 @@ -RNE2EEManagerState | LiveKit React Native Client SDK - v3.2.0
                                                          LiveKit React Native Client SDK - v3.2.0
                                                            Preparing search index...

                                                            Interface RNE2EEManagerState

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

                                                            Properties

                                                            e2eeManager +RNE2EEManagerState | LiveKit React Native Client SDK - v3.2.1

                                                            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 c2d661b1..3e98c880 100644 --- a/docs/interfaces/RegisterGlobalsOptions.html +++ b/docs/interfaces/RegisterGlobalsOptions.html @@ -1,8 +1,8 @@ -RegisterGlobalsOptions | LiveKit React Native Client SDK - v3.2.0
                                                            LiveKit React Native Client SDK - v3.2.0
                                                              Preparing search index...

                                                              Interface RegisterGlobalsOptions

                                                              interface RegisterGlobalsOptions {
                                                                  autoConfigureAudioSession?: boolean;
                                                              }
                                                              Index

                                                              Properties

                                                              autoConfigureAudioSession? +RegisterGlobalsOptions | LiveKit React Native Client SDK - v3.2.1

                                                              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 42b07876..b9b10827 100644 --- a/docs/interfaces/RoomOptions.html +++ b/docs/interfaces/RoomOptions.html @@ -1,2 +1,2 @@ -RoomOptions | LiveKit React Native Client SDK - v3.2.0
                                                              LiveKit React Native Client SDK - v3.2.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.2.1
                                                                LiveKit React Native Client SDK - v3.2.1
                                                                  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 7457a7a8..3c7ac4ae 100644 --- a/docs/interfaces/RoomState.html +++ b/docs/interfaces/RoomState.html @@ -1,5 +1,5 @@ -RoomState | LiveKit React Native Client SDK - v3.2.0
                                                                  LiveKit React Native Client SDK - v3.2.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.2.1

                                                                    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 63223932..cbe23f25 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -LiveKit React Native Client SDK - v3.2.0
                                                                    LiveKit React Native Client SDK - v3.2.0
                                                                      Preparing search index...

                                                                        LiveKit React Native Client SDK - v3.2.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.2.1
                                                                        LiveKit React Native Client SDK - v3.2.1
                                                                          Preparing search index...

                                                                            LiveKit React Native Client SDK - v3.2.1

                                                                            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 05c267c3..4160db96 100644 --- a/docs/types/AndroidAudioTypeOptions.html +++ b/docs/types/AndroidAudioTypeOptions.html @@ -1,4 +1,4 @@ -AndroidAudioTypeOptions | LiveKit React Native Client SDK - v3.2.0
                                                                            LiveKit React Native Client SDK - v3.2.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.2.1

                                                                              Type Alias AndroidAudioTypeOptions

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

                                                                              Properties

                                                                              audioAttributesContentType?:
                                                                                  | "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 27fe837a..ae48a570 100644 --- a/docs/types/AppleAudioCategory.html +++ b/docs/types/AppleAudioCategory.html @@ -1 +1 @@ -AppleAudioCategory | LiveKit React Native Client SDK - v3.2.0
                                                                              LiveKit React Native Client SDK - v3.2.0
                                                                                Preparing search index...

                                                                                Type Alias AppleAudioCategory

                                                                                AppleAudioCategory:
                                                                                    | "soloAmbient"
                                                                                    | "playback"
                                                                                    | "record"
                                                                                    | "playAndRecord"
                                                                                    | "multiRoute"
                                                                                +AppleAudioCategory | LiveKit React Native Client SDK - v3.2.1
                                                                                LiveKit React Native Client SDK - v3.2.1
                                                                                  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 6bad5717..1b18fead 100644 --- a/docs/types/AppleAudioCategoryOption.html +++ b/docs/types/AppleAudioCategoryOption.html @@ -1 +1 @@ -AppleAudioCategoryOption | LiveKit React Native Client SDK - v3.2.0
                                                                                  LiveKit React Native Client SDK - v3.2.0
                                                                                    Preparing search index...

                                                                                    Type Alias AppleAudioCategoryOption

                                                                                    AppleAudioCategoryOption:
                                                                                        | "mixWithOthers"
                                                                                        | "duckOthers"
                                                                                        | "interruptSpokenAudioAndMixWithOthers"
                                                                                        | "allowBluetooth"
                                                                                        | "allowBluetoothA2DP"
                                                                                        | "allowAirPlay"
                                                                                        | "defaultToSpeaker"
                                                                                    +AppleAudioCategoryOption | LiveKit React Native Client SDK - v3.2.1
                                                                                    LiveKit React Native Client SDK - v3.2.1
                                                                                      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 0566ddc4..69c3a862 100644 --- a/docs/types/AppleAudioConfiguration.html +++ b/docs/types/AppleAudioConfiguration.html @@ -1,4 +1,4 @@ -AppleAudioConfiguration | LiveKit React Native Client SDK - v3.2.0
                                                                                      LiveKit React Native Client SDK - v3.2.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.2.1

                                                                                        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 2943bf7f..56b11837 100644 --- a/docs/types/AppleAudioMode.html +++ b/docs/types/AppleAudioMode.html @@ -1 +1 @@ -AppleAudioMode | LiveKit React Native Client SDK - v3.2.0
                                                                                        LiveKit React Native Client SDK - v3.2.0
                                                                                          Preparing search index...

                                                                                          Type Alias AppleAudioMode

                                                                                          AppleAudioMode:
                                                                                              | "default"
                                                                                              | "gameChat"
                                                                                              | "measurement"
                                                                                              | "moviePlayback"
                                                                                              | "spokenAudio"
                                                                                              | "videoChat"
                                                                                              | "videoRecording"
                                                                                              | "voiceChat"
                                                                                              | "voicePrompt"
                                                                                          +AppleAudioMode | LiveKit React Native Client SDK - v3.2.1
                                                                                          LiveKit React Native Client SDK - v3.2.1
                                                                                            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 9ec4f55c..5bedc81b 100644 --- a/docs/types/AudioConfiguration.html +++ b/docs/types/AudioConfiguration.html @@ -1,4 +1,4 @@ -AudioConfiguration | LiveKit React Native Client SDK - v3.2.0
                                                                                            LiveKit React Native Client SDK - v3.2.0
                                                                                              Preparing search index...

                                                                                              Type Alias AudioConfiguration

                                                                                              Configuration for the underlying AudioSession.

                                                                                              +AudioConfiguration | LiveKit React Native Client SDK - v3.2.1

                                                                                              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 ebd46411..a4b51398 100644 --- a/docs/types/AudioEngineConfigurationState.html +++ b/docs/types/AudioEngineConfigurationState.html @@ -1,9 +1,9 @@ -AudioEngineConfigurationState | LiveKit React Native Client SDK - v3.2.0
                                                                                              LiveKit React Native Client SDK - v3.2.0
                                                                                                Preparing search index...

                                                                                                Type Alias AudioEngineConfigurationState

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

                                                                                                Properties

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

                                                                                                Type Alias AudioEngineConfigurationState

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

                                                                                                Properties

                                                                                                isPlayoutEnabled: boolean
                                                                                                isRecordingEnabled: boolean
                                                                                                isVoiceProcessingEnabled: boolean

                                                                                                Whether Apple Voice Processing I/O is running for this engine state. The +

                                                                                                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
                                                                                                +
                                                                                                preferSpeakerOutput: boolean
                                                                                                diff --git a/docs/types/AudioTrackState.html b/docs/types/AudioTrackState.html index a87ac3f1..2ed662e5 100644 --- a/docs/types/AudioTrackState.html +++ b/docs/types/AudioTrackState.html @@ -1,6 +1,6 @@ -AudioTrackState | LiveKit React Native Client SDK - v3.2.0
                                                                                                LiveKit React Native Client SDK - v3.2.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.2.1

                                                                                                  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 9ab08be7..7a85d604 100644 --- a/docs/types/BarVisualizerOptions.html +++ b/docs/types/BarVisualizerOptions.html @@ -1,8 +1,8 @@ -BarVisualizerOptions | LiveKit React Native Client SDK - v3.2.0
                                                                                                  LiveKit React Native Client SDK - v3.2.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.2.1

                                                                                                    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 d6db910c..a5daddac 100644 --- a/docs/types/IOSAudioSessionPolicy.html +++ b/docs/types/IOSAudioSessionPolicy.html @@ -1,15 +1,15 @@ -IOSAudioSessionPolicy | LiveKit React Native Client SDK - v3.2.0
                                                                                                    LiveKit React Native Client SDK - v3.2.0
                                                                                                      Preparing search index...

                                                                                                      Type Alias IOSAudioSessionPolicy

                                                                                                      Static recording/playout policy for setupIOSAudioManagement.

                                                                                                      -
                                                                                                      Index

                                                                                                      Properties

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

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

                                                                                                      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 3084fd52..c941cde5 100644 --- a/docs/types/LogLevel.html +++ b/docs/types/LogLevel.html @@ -1 +1 @@ -LogLevel | LiveKit React Native Client SDK - v3.2.0
                                                                                                      LiveKit React Native Client SDK - v3.2.0
                                                                                                        Preparing search index...

                                                                                                        Type Alias LogLevel

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

                                                                                                          Type Alias LogLevel

                                                                                                          LogLevel: Parameters<typeof setClientSdkLogLevel>[0]
                                                                                                          diff --git a/docs/types/OnConfigureNativeAudio.html b/docs/types/OnConfigureNativeAudio.html index 613bcdfb..c5a28ae6 100644 --- a/docs/types/OnConfigureNativeAudio.html +++ b/docs/types/OnConfigureNativeAudio.html @@ -1,3 +1,3 @@ -OnConfigureNativeAudio | LiveKit React Native Client SDK - v3.2.0
                                                                                                          LiveKit React Native Client SDK - v3.2.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.2.1

                                                                                                            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 5092f9bc..7cb809a9 100644 --- a/docs/types/Props.html +++ b/docs/types/Props.html @@ -1,7 +1,7 @@ -Props | LiveKit React Native Client SDK - v3.2.0
                                                                                                            LiveKit React Native Client SDK - v3.2.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.2.1

                                                                                                              Type Alias Props

                                                                                                              use VideoTrack and VideoTrackProps instead.

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

                                                                                                              Properties

                                                                                                              mirror?: 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 ccd5b9f9..aff3c15c 100644 --- a/docs/types/RNKeyProviderOptions.html +++ b/docs/types/RNKeyProviderOptions.html @@ -1,2 +1,2 @@ -RNKeyProviderOptions | LiveKit React Native Client SDK - v3.2.0
                                                                                                              LiveKit React Native Client SDK - v3.2.0
                                                                                                                Preparing search index...

                                                                                                                Type Alias RNKeyProviderOptions

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

                                                                                                                Options for construction an RNKeyProvider

                                                                                                                -
                                                                                                                +RNKeyProviderOptions | LiveKit React Native Client SDK - v3.2.1
                                                                                                                LiveKit React Native Client SDK - v3.2.1
                                                                                                                  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 c7a1e81d..72e09dbc 100644 --- a/docs/types/SetLogLevelOptions.html +++ b/docs/types/SetLogLevelOptions.html @@ -1,2 +1,2 @@ -SetLogLevelOptions | LiveKit React Native Client SDK - v3.2.0
                                                                                                                  LiveKit React Native Client SDK - v3.2.0
                                                                                                                    Preparing search index...

                                                                                                                    Type Alias SetLogLevelOptions

                                                                                                                    type SetLogLevelOptions = {
                                                                                                                        liveKitClientLogLevel?: LogLevel;
                                                                                                                    }
                                                                                                                    Index

                                                                                                                    Properties

                                                                                                                    liveKitClientLogLevel?: LogLevel
                                                                                                                    +SetLogLevelOptions | LiveKit React Native Client SDK - v3.2.1
                                                                                                                    LiveKit React Native Client SDK - v3.2.1
                                                                                                                      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 c41e1f94..82e2fd1f 100644 --- a/docs/types/UseRNE2EEManagerOptions.html +++ b/docs/types/UseRNE2EEManagerOptions.html @@ -1,3 +1,3 @@ -UseRNE2EEManagerOptions | LiveKit React Native Client SDK - v3.2.0
                                                                                                                      LiveKit React Native Client SDK - v3.2.0
                                                                                                                        Preparing search index...

                                                                                                                        Type Alias UseRNE2EEManagerOptions

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

                                                                                                                        Properties

                                                                                                                        keyProviderOptions? +UseRNE2EEManagerOptions | LiveKit React Native Client SDK - v3.2.1

                                                                                                                        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 eaf9fa32..1496f1bd 100644 --- a/docs/types/VideoTrackProps.html +++ b/docs/types/VideoTrackProps.html @@ -1,5 +1,5 @@ -VideoTrackProps | LiveKit React Native Client SDK - v3.2.0
                                                                                                                        LiveKit React Native Client SDK - v3.2.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.2.1

                                                                                                                          Type Alias VideoTrackProps

                                                                                                                          Props for the VideoTrack component.

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

                                                                                                                          Properties

                                                                                                                          iosPIP? 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 3728007b..df8aebbb 100644 --- a/docs/variables/AndroidAudioTypePresets.html +++ b/docs/variables/AndroidAudioTypePresets.html @@ -1,3 +1,3 @@ -AndroidAudioTypePresets | LiveKit React Native Client SDK - v3.2.0
                                                                                                                          LiveKit React Native Client SDK - v3.2.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 8d312e90..52a37654 100644 --- a/docs/variables/VideoTrack.html +++ b/docs/variables/VideoTrack.html @@ -1,5 +1,5 @@ -VideoTrack | LiveKit React Native Client SDK - v3.2.0
                                                                                                                            LiveKit React Native Client SDK - v3.2.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.2.1

                                                                                                                              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 6a5fa818..447a6160 100644 --- a/docs/variables/log.html +++ b/docs/variables/log.html @@ -1 +1 @@ -log | LiveKit React Native Client SDK - v3.2.0
                                                                                                                              LiveKit React Native Client SDK - v3.2.0
                                                                                                                                Preparing search index...

                                                                                                                                Variable logConst

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

                                                                                                                                  Variable logConst

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