From da674a02a12529f360052c1d753abc1d82bd27e1 Mon Sep 17 00:00:00 2001 From: davidliu Date: Tue, 5 Aug 2025 21:40:10 +0900 Subject: [PATCH] chore: release 2.9.0 --- docs/classes/AudioSession.html | 18 ++++---- docs/classes/RNE2EEManager.html | 4 +- docs/classes/RNKeyProvider.html | 8 ++-- docs/functions/BarVisualizer.html | 4 +- docs/functions/LiveKitRoom.html | 4 +- docs/functions/VideoTrack.html | 4 +- docs/functions/VideoView.html | 4 +- ...DefaultAppleAudioConfigurationForMode.html | 2 +- docs/functions/registerGlobals.html | 4 +- docs/functions/setLogLevel.html | 4 +- docs/functions/sortParticipants.html | 4 +- docs/functions/useBarAnimator.html | 2 +- docs/functions/useIOSAudioManagement.html | 4 +- docs/functions/useMultibandTrackVolume.html | 4 +- docs/functions/useParticipant.html | 4 +- docs/functions/useRNE2EEManager.html | 2 +- docs/functions/useRoom.html | 4 +- docs/functions/useTrackVolume.html | 4 +- docs/index.html | 44 +++++++++++++++---- docs/interfaces/BarVisualizerProps.html | 8 ++-- docs/interfaces/LiveKitRoomProps.html | 22 +++++----- .../MultiBandTrackVolumeOptions.html | 12 ++--- docs/interfaces/ParticipantState.html | 6 +-- docs/interfaces/RNE2EEManagerState.html | 4 +- docs/interfaces/RoomOptions.html | 4 +- docs/interfaces/RoomState.html | 4 +- docs/modules.html | 4 +- docs/types/AndroidAudioTypeOptions.html | 4 +- docs/types/AppleAudioCategory.html | 2 +- docs/types/AppleAudioCategoryOption.html | 2 +- docs/types/AppleAudioConfiguration.html | 2 +- docs/types/AppleAudioMode.html | 2 +- docs/types/AudioConfiguration.html | 4 +- docs/types/AudioTrackState.html | 2 +- docs/types/BarVisualizerOptions.html | 4 +- docs/types/LogLevel.html | 2 +- docs/types/Props.html | 4 +- docs/types/RNKeyProviderOptions.html | 4 +- docs/types/SetLogLevelOptions.html | 2 +- docs/types/UseRNE2EEManagerOptions.html | 2 +- docs/types/VideoTrackProps.html | 4 +- docs/variables/AndroidAudioTypePresets.html | 4 +- docs/variables/log.html | 2 +- example/ios/Podfile.lock | 4 +- package.json | 2 +- 45 files changed, 135 insertions(+), 109 deletions(-) diff --git a/docs/classes/AudioSession.html b/docs/classes/AudioSession.html index 5bff4e3..26c4ddc 100644 --- a/docs/classes/AudioSession.html +++ b/docs/classes/AudioSession.html @@ -1,4 +1,4 @@ -AudioSession | LiveKit React Native Client SDK - v2.8.0

Constructors

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

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 useIOSAudioManagement 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

    -
  • Directly change the AVAudioSession category/mode.

    +

Returns Promise<void>

  • Directly change the AVAudioSession category/mode.

    Parameters

    • config: AppleAudioConfiguration

      The configuration to use. Null values will be omitted and the existing values will be unchanged.

      -

    Returns Promise<void>

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

Returns Promise<void>

  • Set default audio track volume when new tracks are subscribed. Does not affect any existing tracks.

    Parameters

    • volume: number

      A number between 0.0 and 1.0, where 0.0 represents 0% volume and 1.0 represents full volume.

      -

    Returns Promise<void>

  • iOS only, requires iOS 11+.

    +

Returns Promise<void>

  • iOS only, requires iOS 11+.

    Displays an AVRoutePickerView for the user to choose their audio output.

    -

    Returns Promise<void>

\ No newline at end of file +

Returns Promise<void>

\ No newline at end of file diff --git a/docs/classes/RNE2EEManager.html b/docs/classes/RNE2EEManager.html index f122ddf..96e0752 100644 --- a/docs/classes/RNE2EEManager.html +++ b/docs/classes/RNE2EEManager.html @@ -1,6 +1,6 @@ -RNE2EEManager | LiveKit React Native Client SDK - v2.8.0

Class RNE2EEManagerExperimental

Hierarchy

  • TypedEventEmitter<E2EEManagerCallbacks, this>
    • RNE2EEManager

Implements

  • BaseE2EEManager

Constructors

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

Class RNE2EEManagerExperimental

Hierarchy

  • TypedEventEmitter<E2EEManagerCallbacks, this>
    • RNE2EEManager

Implements

  • BaseE2EEManager

Constructors

Methods

  • Parameters

    • enabled: boolean
    • participantIdentity: string

    Returns void

  • Parameters

    • trailer: Uint8Array

    Returns void

  • Parameters

    • _engine: default

    Returns void

\ No newline at end of file +

Constructors

Methods

  • Parameters

    • enabled: boolean
    • participantIdentity: string

    Returns void

  • Parameters

    • trailer: Uint8Array

    Returns void

  • Parameters

    • _engine: default

    Returns void

\ No newline at end of file diff --git a/docs/classes/RNKeyProvider.html b/docs/classes/RNKeyProvider.html index 401c6ba..0ab1b85 100644 --- a/docs/classes/RNKeyProvider.html +++ b/docs/classes/RNKeyProvider.html @@ -1,4 +1,4 @@ -RNKeyProvider | LiveKit React Native Client SDK - v2.8.0

Class RNKeyProviderExperimental

Hierarchy

  • BaseKeyProvider
    • RNKeyProvider

Constructors

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

Class RNKeyProviderExperimental

Hierarchy

  • BaseKeyProvider
    • RNKeyProvider

Constructors

Methods

  • Parameters

    • Optional participantIdentity: string
    • Optional keyIndex: number

    Returns Promise<void>

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

    -

    Parameters

    • participantId: string
    • key: string | Uint8Array
    • Optional keyIndex: number

    Returns Promise<any>

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

    -

    Parameters

    • key: string | Uint8Array
    • Optional keyIndex: number

    Returns Promise<any>

\ No newline at end of file +

Constructors

Methods

  • Parameters

    • Optional participantIdentity: string
    • Optional keyIndex: number

    Returns Promise<void>

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

    +

    Parameters

    • participantId: string
    • key: string | Uint8Array
    • Optional keyIndex: number

    Returns Promise<any>

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

    +

    Parameters

    • key: string | Uint8Array
    • Optional keyIndex: number

    Returns Promise<any>

\ No newline at end of file diff --git a/docs/functions/BarVisualizer.html b/docs/functions/BarVisualizer.html index 62a9cf0..c823e1f 100644 --- a/docs/functions/BarVisualizer.html +++ b/docs/functions/BarVisualizer.html @@ -1,6 +1,6 @@ -BarVisualizer | LiveKit React Native Client SDK - v2.8.0
  • Beta

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

    • Beta

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

      Parameters

      Returns Element

      Remarks

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

      Example

      function SimpleVoiceAssistant() {
      const { state, audioTrack } = useVoiceAssistant();
      return (
      <BarVisualizer
      state={state}
      trackRef={audioTrack}
      />
      );
      }
      -
    \ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/LiveKitRoom.html b/docs/functions/LiveKitRoom.html index eb64014..08c2a6d 100644 --- a/docs/functions/LiveKitRoom.html +++ b/docs/functions/LiveKitRoom.html @@ -1,6 +1,6 @@ -LiveKitRoom | LiveKit React Native Client SDK - v2.8.0
  • The LiveKitRoom component provides the room context to all its child components. +LiveKitRoom | LiveKit React Native Client SDK - v2.9.0

    • 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

      Example

      <LiveKitRoom
      token='<livekit-token>'
      serverUrl='<url-to-livekit-server>'
      connect={true}
      >
      ...
      </LiveKitRoom>
      -
    \ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/VideoTrack.html b/docs/functions/VideoTrack.html index 80c1a5a..90a32c0 100644 --- a/docs/functions/VideoTrack.html +++ b/docs/functions/VideoTrack.html @@ -1,5 +1,5 @@ -VideoTrack | LiveKit React Native Client SDK - v2.8.0
  • VideoTrack component for displaying video tracks in a React Native application. +VideoTrack | LiveKit React Native Client SDK - v2.9.0

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

      Parameters

      • props: VideoTrackProps & RefAttributes<Component<RTCVideoViewProps, {}, any> & Readonly<NativeMethods>>

        See VideoTrackProps for details.

      Returns null | ReactElement<any, string | JSXElementConstructor<any>>

      A React component that renders the given video track.

      -
    \ No newline at end of file +
\ No newline at end of file diff --git a/docs/functions/VideoView.html b/docs/functions/VideoView.html index edc4773..5a30b7e 100644 --- a/docs/functions/VideoView.html +++ b/docs/functions/VideoView.html @@ -1,2 +1,2 @@ -VideoView | LiveKit React Native Client SDK - v2.8.0
  • Parameters

    Returns Element

    Deprecated

    use VideoTrack and VideoTrackProps instead.

    -
\ No newline at end of file +VideoView | LiveKit React Native Client SDK - v2.9.0
  • Parameters

    Returns Element

    Deprecated

    use VideoTrack and VideoTrackProps instead.

    +
\ No newline at end of file diff --git a/docs/functions/getDefaultAppleAudioConfigurationForMode.html b/docs/functions/getDefaultAppleAudioConfigurationForMode.html index bd12182..5514d7f 100644 --- a/docs/functions/getDefaultAppleAudioConfigurationForMode.html +++ b/docs/functions/getDefaultAppleAudioConfigurationForMode.html @@ -1 +1 @@ -getDefaultAppleAudioConfigurationForMode | LiveKit React Native Client SDK - v2.8.0

Function getDefaultAppleAudioConfigurationForMode

\ No newline at end of file +getDefaultAppleAudioConfigurationForMode | LiveKit React Native Client SDK - v2.9.0

Function getDefaultAppleAudioConfigurationForMode

\ No newline at end of file diff --git a/docs/functions/registerGlobals.html b/docs/functions/registerGlobals.html index 73afcdd..a70f16c 100644 --- a/docs/functions/registerGlobals.html +++ b/docs/functions/registerGlobals.html @@ -1,3 +1,3 @@ -registerGlobals | LiveKit React Native Client SDK - v2.8.0
  • Registers the required globals needed for LiveKit to work.

    +registerGlobals | LiveKit React Native Client SDK - v2.9.0
    • Registers the required globals needed for LiveKit to work.

      Must be called before using LiveKit.

      -

      Returns void

    \ No newline at end of file +

    Returns void

\ No newline at end of file diff --git a/docs/functions/setLogLevel.html b/docs/functions/setLogLevel.html index c2dc1c4..eb71845 100644 --- a/docs/functions/setLogLevel.html +++ b/docs/functions/setLogLevel.html @@ -1,3 +1,3 @@ -setLogLevel | LiveKit React Native Client SDK - v2.8.0
  • Set the log level for both the @livekit/react-native package and the @livekit-client package. +setLogLevel | LiveKit React Native Client SDK - v2.9.0

    • 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: "error" | "trace" | "debug" | "info" | "warn" | "silent" | LogLevel
      • options: SetLogLevelOptions = {}

      Returns void

    \ No newline at end of file +

    Parameters

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

    Returns void

\ No newline at end of file diff --git a/docs/functions/sortParticipants.html b/docs/functions/sortParticipants.html index cbd7f0e..e62f2e6 100644 --- a/docs/functions/sortParticipants.html +++ b/docs/functions/sortParticipants.html @@ -1,4 +1,4 @@ -sortParticipants | LiveKit React Native Client SDK - v2.8.0
  • Default sort for participants, it'll order participants by:

    +sortParticipants | LiveKit React Native Client SDK - v2.9.0
    • 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: default[]
      • Optional localParticipant: default

      Returns void

    \ No newline at end of file +

    Parameters

    • participants: default[]
    • Optional localParticipant: default

    Returns void

\ No newline at end of file diff --git a/docs/functions/useBarAnimator.html b/docs/functions/useBarAnimator.html index cf4769e..d3c42c1 100644 --- a/docs/functions/useBarAnimator.html +++ b/docs/functions/useBarAnimator.html @@ -1 +1 @@ -useBarAnimator | LiveKit React Native Client SDK - v2.8.0
  • Parameters

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

    Returns number[]

\ No newline at end of file +useBarAnimator | LiveKit React Native Client SDK - v2.9.0
  • Parameters

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

    Returns number[]

\ No newline at end of file diff --git a/docs/functions/useIOSAudioManagement.html b/docs/functions/useIOSAudioManagement.html index 1609605..cbd1992 100644 --- a/docs/functions/useIOSAudioManagement.html +++ b/docs/functions/useIOSAudioManagement.html @@ -1,4 +1,4 @@ -useIOSAudioManagement | LiveKit React Native Client SDK - v2.8.0

Returns void

\ No newline at end of file diff --git a/docs/functions/useMultibandTrackVolume.html b/docs/functions/useMultibandTrackVolume.html index d799f27..38940db 100644 --- a/docs/functions/useMultibandTrackVolume.html +++ b/docs/functions/useMultibandTrackVolume.html @@ -1,3 +1,3 @@ -useMultibandTrackVolume | LiveKit React Native Client SDK - v2.8.0
\ No newline at end of file diff --git a/docs/functions/useParticipant.html b/docs/functions/useParticipant.html index 78170c2..c6ad267 100644 --- a/docs/functions/useParticipant.html +++ b/docs/functions/useParticipant.html @@ -1,2 +1,2 @@ -useParticipant | LiveKit React Native Client SDK - v2.8.0
\ No newline at end of file +useParticipant | LiveKit React Native Client SDK - v2.9.0
\ No newline at end of file diff --git a/docs/functions/useRNE2EEManager.html b/docs/functions/useRNE2EEManager.html index 8bcc605..8cf6d0a 100644 --- a/docs/functions/useRNE2EEManager.html +++ b/docs/functions/useRNE2EEManager.html @@ -1 +1 @@ -useRNE2EEManager | LiveKit React Native Client SDK - v2.8.0
\ No newline at end of file +useRNE2EEManager | LiveKit React Native Client SDK - v2.9.0
\ No newline at end of file diff --git a/docs/functions/useRoom.html b/docs/functions/useRoom.html index 8d19a92..a724133 100644 --- a/docs/functions/useRoom.html +++ b/docs/functions/useRoom.html @@ -1,2 +1,2 @@ -useRoom | LiveKit React Native Client SDK - v2.8.0
  • Parameters

    Returns RoomState

    Deprecated

    wrap your components in a component instead and use more granular hooks to track state you're interested in

    -
\ No newline at end of file +useRoom | LiveKit React Native Client SDK - v2.9.0
  • Parameters

    Returns RoomState

    Deprecated

    wrap your components in a component instead and use more granular hooks to track state you're interested in

    +
\ No newline at end of file diff --git a/docs/functions/useTrackVolume.html b/docs/functions/useTrackVolume.html index 52bf311..b9e7171 100644 --- a/docs/functions/useTrackVolume.html +++ b/docs/functions/useTrackVolume.html @@ -1,3 +1,3 @@ -useTrackVolume | LiveKit React Native Client SDK - v2.8.0
  • A hook for tracking the volume of an audio track.

    +useTrackVolume | LiveKit React Native Client SDK - v2.9.0
    • A hook for tracking the volume of an audio track.

      Parameters

      • Optional trackOrTrackReference: TrackReferenceOrPlaceholder | default | default

      Returns number

      A number between 0-1 representing the volume.

      -
    \ No newline at end of file +
\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 0e7898d..7409ba5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -LiveKit React Native Client SDK - v2.8.0

LiveKit React Native Client SDK - v2.8.0

+LiveKit React Native Client SDK - v2.9.0

LiveKit React Native Client SDK - v2.9.0

@@ -8,7 +8,7 @@ -

livekit-react-native

+

React Native client SDK for LiveKit

Use this SDK to add realtime video, audio and data features to your React Native app. By connecting to LiveKit Cloud or a self-hosted server, you can quickly build applications such as multi-modal AI, live streaming, or video calls with just a few lines of code.

@@ -28,16 +28,42 @@

Once the @livekit/react-native-webrtc dependency is installed, one last step is needed to finish the installation:

-

Android

In your MainApplication.java file:

-

Java

import com.livekit.reactnative.LiveKitReactNative;
import com.livekit.reactnative.audio.AudioType;

public class MainApplication extends Application implements ReactApplication {

@Override
public void onCreate() {
// Place this above any other RN related initialization
// When AudioType is omitted, it'll default to CommunicationAudioType.
// Use MediaAudioType if user is only consuming audio, and not publishing.
LiveKitReactNative.setup(this, new AudioType.CommunicationAudioType());

//...
}
} +

Android

+ +Java + +

In your MainApplication.java file:

+
import com.livekit.reactnative.LiveKitReactNative;
import com.livekit.reactnative.audio.AudioType;

public class MainApplication extends Application implements ReactApplication {

@Override
public void onCreate() {
// Place this above any other RN related initialization
// When AudioType is omitted, it'll default to CommunicationAudioType.
// Use MediaAudioType if user is only consuming audio, and not publishing.
LiveKitReactNative.setup(this, new AudioType.CommunicationAudioType());

//...
}
}
-

Or in your MainApplication.kt if you are using RN 0.73+

-

Kotlin

import com.livekit.reactnative.LiveKitReactNative
import com.livekit.reactnative.audio.AudioType

class MainApplication : Application, ReactApplication() {
override fun onCreate() {
// Place this above any other RN related initialization
// When AudioType is omitted, it'll default to CommunicationAudioType.
// Use MediaAudioType if user is only consuming audio, and not publishing.
LiveKitReactNative.setup(this, AudioType.CommunicationAudioType())

//...
}
} +
+ +
+ +Kotlin + +

In your MainApplication.kt file:

+
import com.livekit.reactnative.LiveKitReactNative
import com.livekit.reactnative.audio.AudioType

class MainApplication : Application, ReactApplication() {
override fun onCreate() {
// Place this above any other RN related initialization
// When AudioType is omitted, it'll default to CommunicationAudioType.
// Use MediaAudioType if user is only consuming audio, and not publishing.
LiveKitReactNative.setup(this, AudioType.CommunicationAudioType())

//...
}
}
-
-

iOS

In your AppDelegate.m file:

+
+ +

iOS

+ +Objective-C + +

In your AppDelegate.m file:

#import "LivekitReactNative.h"
#import "WebRTCModuleOptions.h"

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Place this above any other RN related initialization
[LivekitReactNative setup];

// Uncomment the following lines if you want to use the camera in the background
// Requires voip background mode and iOS 18+.

// WebRTCModuleOptions *options = [WebRTCModuleOptions sharedInstance];
// options.enableMultitaskingCameraAccess = YES;

//...
}
+
+ +
+ +Swift + +

In your AppDelegate.swift file:

+
import livekit_react_native
import livekit_react_native_webrtc

@main
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? = nil
) -> Bool {

// Place this above any other RN related initialization
LivekitReactNative.setup()

// Uncomment the following lines if you want to use the camera in the background
// Requires voip background mode and iOS 18+.

// let options = WebRTCModuleOptions.sharedInstance()
// options.enableMultitaskingCameraAccess = true

// ...
}
}
+
+
+

Expo

LiveKit is available on Expo through development builds. You can find our Expo plugin and setup instructions here.

Example app

You can try our standalone example app here.

Usage

In your index.js file, setup the LiveKit SDK by calling registerGlobals(). @@ -129,4 +155,4 @@ ResourcesDocs · Example apps · Cloud · Self-hosting · CLI -

\ No newline at end of file +
\ No newline at end of file diff --git a/docs/interfaces/BarVisualizerProps.html b/docs/interfaces/BarVisualizerProps.html index 4d2ea0a..f3e7da4 100644 --- a/docs/interfaces/BarVisualizerProps.html +++ b/docs/interfaces/BarVisualizerProps.html @@ -1,9 +1,9 @@ -BarVisualizerProps | LiveKit React Native Client SDK - v2.8.0

Interface BarVisualizerPropsBeta

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

Properties

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

Interface BarVisualizerPropsBeta

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

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
\ No newline at end of file +
state?: AgentState

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

+
style?: ViewStyle

Custom React Native styles for the container.

+
trackRef?: TrackReferenceOrPlaceholder
\ No newline at end of file diff --git a/docs/interfaces/LiveKitRoomProps.html b/docs/interfaces/LiveKitRoomProps.html index ab88b99..c11e5aa 100644 --- a/docs/interfaces/LiveKitRoomProps.html +++ b/docs/interfaces/LiveKitRoomProps.html @@ -1,4 +1,4 @@ -LiveKitRoomProps | LiveKit React Native Client SDK - v2.8.0
interface LiveKitRoomProps {
    audio?: boolean | AudioCaptureOptions;
    connect?: boolean;
    connectOptions?: RoomConnectOptions;
    featureFlags?: FeatureFlags;
    onConnected?: (() => void);
    onDisconnected?: (() => void);
    onEncryptionError?: ((error) => void);
    onError?: ((error) => void);
    onMediaDeviceFailure?: ((failure?) => void);
    options?: RoomOptions;
    room?: Room;
    screen?: boolean | ScreenShareCaptureOptions;
    serverUrl: undefined | string;
    simulateParticipants?: number;
    token: undefined | string;
    video?: boolean | VideoCaptureOptions;
}

Properties

audio? +LiveKitRoomProps | LiveKit React Native Client SDK - v2.9.0
interface LiveKitRoomProps {
    audio?: boolean | AudioCaptureOptions;
    connect?: boolean;
    connectOptions?: RoomConnectOptions;
    featureFlags?: FeatureFlags;
    onConnected?: (() => void);
    onDisconnected?: (() => void);
    onEncryptionError?: ((error) => void);
    onError?: ((error) => void);
    onMediaDeviceFailure?: ((failure?) => void);
    options?: RoomOptions;
    room?: Room;
    screen?: boolean | ScreenShareCaptureOptions;
    serverUrl: undefined | string;
    simulateParticipants?: number;
    token: undefined | string;
    video?: boolean | VideoCaptureOptions;
}

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.

-

Default Value

false

-
connectOptions?: RoomConnectOptions

Define options how to connect to the LiveKit server.

+
connect?: boolean

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

+

Default Value

true

+
connectOptions?: RoomConnectOptions

Define options how to connect to the LiveKit server.

featureFlags?: FeatureFlags
onConnected?: (() => void)

Type declaration

    • (): void
    • Returns void

onDisconnected?: (() => void)

Type declaration

    • (): void
    • Returns void

onEncryptionError?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      • error: Error

      Returns void

onError?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      • error: Error

      Returns void

onMediaDeviceFailure?: ((failure?) => void)

Type declaration

    • (failure?): void
    • Parameters

      • Optional failure: MediaDeviceFailure

      Returns void

options?: RoomOptions

Options for when creating a new room. +

featureFlags?: FeatureFlags
onConnected?: (() => void)

Type declaration

    • (): void
    • Returns void

onDisconnected?: (() => void)

Type declaration

    • (): void
    • Returns void

onEncryptionError?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      • error: Error

      Returns void

onError?: ((error) => void)

Type declaration

    • (error): void
    • Parameters

      • error: Error

      Returns void

onMediaDeviceFailure?: ((failure?) => void)

Type declaration

    • (failure?): void
    • Parameters

      • Optional failure: MediaDeviceFailure

      Returns 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: undefined | string

URL to the LiveKit server. +

serverUrl: undefined | string

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: undefined | string

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

simulateParticipants?: number
token: undefined | string

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.

\ No newline at end of file +
\ No newline at end of file diff --git a/docs/interfaces/MultiBandTrackVolumeOptions.html b/docs/interfaces/MultiBandTrackVolumeOptions.html index 1a5be8e..7e7ddf9 100644 --- a/docs/interfaces/MultiBandTrackVolumeOptions.html +++ b/docs/interfaces/MultiBandTrackVolumeOptions.html @@ -1,10 +1,10 @@ -MultiBandTrackVolumeOptions | LiveKit React Native Client SDK - v2.8.0

Interface MultiBandTrackVolumeOptionsAlpha

Interface for configuring options for the useMultibandTrackVolume hook.

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

Properties

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

Interface MultiBandTrackVolumeOptionsAlpha

Interface for configuring options for the useMultibandTrackVolume hook.

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

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

-
\ No newline at end of file +
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

+
\ No newline at end of file diff --git a/docs/interfaces/ParticipantState.html b/docs/interfaces/ParticipantState.html index df647cb..563427d 100644 --- a/docs/interfaces/ParticipantState.html +++ b/docs/interfaces/ParticipantState.html @@ -1,5 +1,5 @@ -ParticipantState | LiveKit React Native Client SDK - v2.8.0

Deprecated

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[];
}

Properties

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

Deprecated

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[];
}

Properties

cameraPublication?: TrackPublication
connectionQuality: ConnectionQuality
isLocal: boolean
isSpeaking: boolean
metadata?: string
microphonePublication?: TrackPublication
publications: TrackPublication[]
screenSharePublication?: TrackPublication
subscribedTracks: TrackPublication[]
\ No newline at end of file +

Properties

cameraPublication?: TrackPublication
connectionQuality: ConnectionQuality
isLocal: boolean
isSpeaking: boolean
metadata?: string
microphonePublication?: TrackPublication
publications: TrackPublication[]
screenSharePublication?: TrackPublication
subscribedTracks: TrackPublication[]
\ No newline at end of file diff --git a/docs/interfaces/RNE2EEManagerState.html b/docs/interfaces/RNE2EEManagerState.html index d3c15ab..478f416 100644 --- a/docs/interfaces/RNE2EEManagerState.html +++ b/docs/interfaces/RNE2EEManagerState.html @@ -1,3 +1,3 @@ -RNE2EEManagerState | LiveKit React Native Client SDK - v2.8.0
interface RNE2EEManagerState {
    e2eeManager: RNE2EEManager;
    keyProvider: RNKeyProvider;
}

Properties

e2eeManager +RNE2EEManagerState | LiveKit React Native Client SDK - v2.9.0
interface RNE2EEManagerState {
    e2eeManager: RNE2EEManager;
    keyProvider: RNKeyProvider;
}

Properties

e2eeManager: RNE2EEManager
keyProvider: RNKeyProvider
\ No newline at end of file +

Properties

e2eeManager: RNE2EEManager
keyProvider: RNKeyProvider
\ No newline at end of file diff --git a/docs/interfaces/RoomOptions.html b/docs/interfaces/RoomOptions.html index 6242caf..5bbf821 100644 --- a/docs/interfaces/RoomOptions.html +++ b/docs/interfaces/RoomOptions.html @@ -1,2 +1,2 @@ -RoomOptions | LiveKit React Native Client SDK - v2.8.0
interface RoomOptions {
    sortParticipants?: ((participants) => void);
}

Properties

Properties

sortParticipants?: ((participants) => void)

Type declaration

    • (participants): void
    • Parameters

      • participants: default[]

      Returns void

\ No newline at end of file +RoomOptions | LiveKit React Native Client SDK - v2.9.0
interface RoomOptions {
    sortParticipants?: ((participants) => void);
}

Properties

Properties

sortParticipants?: ((participants) => void)

Type declaration

    • (participants): void
    • Parameters

      • participants: default[]

      Returns void

\ No newline at end of file diff --git a/docs/interfaces/RoomState.html b/docs/interfaces/RoomState.html index 1096cee..b5bf90e 100644 --- a/docs/interfaces/RoomState.html +++ b/docs/interfaces/RoomState.html @@ -1,5 +1,5 @@ -RoomState | LiveKit React Native Client SDK - v2.8.0
interface RoomState {
    audioTracks: AudioTrack[];
    error?: Error;
    participants: default[];
    room?: Room;
}

Properties

audioTracks +RoomState | LiveKit React Native Client SDK - v2.9.0
interface RoomState {
    audioTracks: AudioTrack[];
    error?: Error;
    participants: default[];
    room?: Room;
}

Properties

audioTracks: AudioTrack[]
error?: Error
participants: default[]
room?: Room
\ No newline at end of file +

Properties

audioTracks: AudioTrack[]
error?: Error
participants: default[]
room?: Room
\ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index e87e73b..1354a54 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1,4 +1,4 @@ -LiveKit React Native Client SDK - v2.8.0

LiveKit React Native Client SDK - v2.8.0

Index

Classes

AudioSession +LiveKit React Native Client SDK - v2.9.0

LiveKit React Native Client SDK - v2.9.0

Index

Classes

Interfaces

\ No newline at end of file +
\ No newline at end of file diff --git a/docs/types/AndroidAudioTypeOptions.html b/docs/types/AndroidAudioTypeOptions.html index 9a7fd12..29d5ea0 100644 --- a/docs/types/AndroidAudioTypeOptions.html +++ b/docs/types/AndroidAudioTypeOptions.html @@ -1,4 +1,4 @@ -AndroidAudioTypeOptions | LiveKit React Native Client SDK - v2.8.0
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;
}

Type declaration

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

    Corresponds to Android's AndroidAttributes content type.

    +AndroidAudioTypeOptions | LiveKit React Native Client SDK - v2.9.0
    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;
    }

    Type declaration

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

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

      Corresponds to Android's AudioAttributes usage type.

      @@ -19,4 +19,4 @@

      Defaults to false.

    • Optional manageAudioFocus?: boolean

      Whether LiveKit should handle managing the audio focus or not.

      Defaults to true.

      -
    \ No newline at end of file +
\ No newline at end of file diff --git a/docs/types/AppleAudioCategory.html b/docs/types/AppleAudioCategory.html index 899b0d9..551e771 100644 --- a/docs/types/AppleAudioCategory.html +++ b/docs/types/AppleAudioCategory.html @@ -1 +1 @@ -AppleAudioCategory | LiveKit React Native Client SDK - v2.8.0
AppleAudioCategory: "soloAmbient" | "playback" | "record" | "playAndRecord" | "multiRoute"
\ No newline at end of file +AppleAudioCategory | LiveKit React Native Client SDK - v2.9.0
AppleAudioCategory: "soloAmbient" | "playback" | "record" | "playAndRecord" | "multiRoute"
\ No newline at end of file diff --git a/docs/types/AppleAudioCategoryOption.html b/docs/types/AppleAudioCategoryOption.html index 1178c3e..ee54b63 100644 --- a/docs/types/AppleAudioCategoryOption.html +++ b/docs/types/AppleAudioCategoryOption.html @@ -1 +1 @@ -AppleAudioCategoryOption | LiveKit React Native Client SDK - v2.8.0
AppleAudioCategoryOption: "mixWithOthers" | "duckOthers" | "interruptSpokenAudioAndMixWithOthers" | "allowBluetooth" | "allowBluetoothA2DP" | "allowAirPlay" | "defaultToSpeaker"
\ No newline at end of file +AppleAudioCategoryOption | LiveKit React Native Client SDK - v2.9.0
AppleAudioCategoryOption: "mixWithOthers" | "duckOthers" | "interruptSpokenAudioAndMixWithOthers" | "allowBluetooth" | "allowBluetoothA2DP" | "allowAirPlay" | "defaultToSpeaker"
\ No newline at end of file diff --git a/docs/types/AppleAudioConfiguration.html b/docs/types/AppleAudioConfiguration.html index 74fd015..61e1df1 100644 --- a/docs/types/AppleAudioConfiguration.html +++ b/docs/types/AppleAudioConfiguration.html @@ -1 +1 @@ -AppleAudioConfiguration | LiveKit React Native Client SDK - v2.8.0
AppleAudioConfiguration: {
    audioCategory?: AppleAudioCategory;
    audioCategoryOptions?: AppleAudioCategoryOption[];
    audioMode?: AppleAudioMode;
}

Type declaration

\ No newline at end of file +AppleAudioConfiguration | LiveKit React Native Client SDK - v2.9.0
AppleAudioConfiguration: {
    audioCategory?: AppleAudioCategory;
    audioCategoryOptions?: AppleAudioCategoryOption[];
    audioMode?: AppleAudioMode;
}

Type declaration

\ No newline at end of file diff --git a/docs/types/AppleAudioMode.html b/docs/types/AppleAudioMode.html index 4d4647b..3302a34 100644 --- a/docs/types/AppleAudioMode.html +++ b/docs/types/AppleAudioMode.html @@ -1 +1 @@ -AppleAudioMode | LiveKit React Native Client SDK - v2.8.0
AppleAudioMode: "default" | "gameChat" | "measurement" | "moviePlayback" | "spokenAudio" | "videoChat" | "videoRecording" | "voiceChat" | "voicePrompt"
\ No newline at end of file +AppleAudioMode | LiveKit React Native Client SDK - v2.9.0
AppleAudioMode: "default" | "gameChat" | "measurement" | "moviePlayback" | "spokenAudio" | "videoChat" | "videoRecording" | "voiceChat" | "voicePrompt"
\ No newline at end of file diff --git a/docs/types/AudioConfiguration.html b/docs/types/AudioConfiguration.html index a0d538e..f7a70ce 100644 --- a/docs/types/AudioConfiguration.html +++ b/docs/types/AudioConfiguration.html @@ -1,4 +1,4 @@ -AudioConfiguration | LiveKit React Native Client SDK - v2.8.0
AudioConfiguration: {
    android?: {
        audioTypeOptions: AndroidAudioTypeOptions;
        preferredOutputList?: ("speaker" | "earpiece" | "headset" | "bluetooth")[];
    };
    ios?: {
        defaultOutput?: "speaker" | "earpiece";
    };
}

Configuration for the underlying AudioSession.

+AudioConfiguration | LiveKit React Native Client SDK - v2.9.0
AudioConfiguration: {
    android?: {
        audioTypeOptions: AndroidAudioTypeOptions;
        preferredOutputList?: ("speaker" | "earpiece" | "headset" | "bluetooth")[];
    };
    ios?: {
        defaultOutput?: "speaker" | "earpiece";
    };
}

Configuration for the underlying AudioSession.


Android specific options:

    @@ -24,4 +24,4 @@

    By default, this is set to "speaker"

-

Type declaration

  • Optional android?: {
        audioTypeOptions: AndroidAudioTypeOptions;
        preferredOutputList?: ("speaker" | "earpiece" | "headset" | "bluetooth")[];
    }
    • audioTypeOptions: AndroidAudioTypeOptions
    • Optional preferredOutputList?: ("speaker" | "earpiece" | "headset" | "bluetooth")[]
  • Optional ios?: {
        defaultOutput?: "speaker" | "earpiece";
    }
    • Optional defaultOutput?: "speaker" | "earpiece"
\ No newline at end of file +

Type declaration

  • Optional android?: {
        audioTypeOptions: AndroidAudioTypeOptions;
        preferredOutputList?: ("speaker" | "earpiece" | "headset" | "bluetooth")[];
    }
    • audioTypeOptions: AndroidAudioTypeOptions
    • Optional preferredOutputList?: ("speaker" | "earpiece" | "headset" | "bluetooth")[]
  • Optional ios?: {
        defaultOutput?: "speaker" | "earpiece";
    }
    • Optional defaultOutput?: "speaker" | "earpiece"
\ No newline at end of file diff --git a/docs/types/AudioTrackState.html b/docs/types/AudioTrackState.html index efa7567..e328f20 100644 --- a/docs/types/AudioTrackState.html +++ b/docs/types/AudioTrackState.html @@ -1 +1 @@ -AudioTrackState | LiveKit React Native Client SDK - v2.8.0
AudioTrackState: "none" | "remoteOnly" | "localOnly" | "localAndRemote"
\ No newline at end of file +AudioTrackState | LiveKit React Native Client SDK - v2.9.0
AudioTrackState: "none" | "remoteOnly" | "localOnly" | "localAndRemote"
\ No newline at end of file diff --git a/docs/types/BarVisualizerOptions.html b/docs/types/BarVisualizerOptions.html index b26a503..562be65 100644 --- a/docs/types/BarVisualizerOptions.html +++ b/docs/types/BarVisualizerOptions.html @@ -1,3 +1,3 @@ -BarVisualizerOptions | LiveKit React Native Client SDK - v2.8.0
BarVisualizerOptions: {
    barBorderRadius?: number;
    barColor?: ColorValue;
    barWidth?: DimensionValue;
    maxHeight?: number;
    minHeight?: number;
}

Type declaration

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

    decimal values from 0 to 1

    +BarVisualizerOptions | LiveKit React Native Client SDK - v2.9.0
    BarVisualizerOptions: {
        barBorderRadius?: number;
        barColor?: ColorValue;
        barWidth?: DimensionValue;
        maxHeight?: number;
        minHeight?: number;
    }

    Type declaration

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

      decimal values from 0 to 1

    • Optional minHeight?: number

      decimal values from 0 to 1

      -
    \ No newline at end of file +
\ No newline at end of file diff --git a/docs/types/LogLevel.html b/docs/types/LogLevel.html index 1971948..154123b 100644 --- a/docs/types/LogLevel.html +++ b/docs/types/LogLevel.html @@ -1 +1 @@ -LogLevel | LiveKit React Native Client SDK - v2.8.0
LogLevel: Parameters<typeof setClientSdkLogLevel>[0]
\ No newline at end of file +LogLevel | LiveKit React Native Client SDK - v2.9.0
LogLevel: Parameters<typeof setClientSdkLogLevel>[0]
\ No newline at end of file diff --git a/docs/types/Props.html b/docs/types/Props.html index 5349ec4..b4fe859 100644 --- a/docs/types/Props.html +++ b/docs/types/Props.html @@ -1,2 +1,2 @@ -Props | LiveKit React Native Client SDK - v2.8.0
Props: {
    mirror?: boolean;
    objectFit?: "cover" | "contain";
    style?: ViewStyle;
    videoTrack?: VideoTrack;
    zOrder?: number;
}

Type declaration

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

Deprecated

use VideoTrack and VideoTrackProps instead.

-
\ No newline at end of file +Props | LiveKit React Native Client SDK - v2.9.0
Props: {
    mirror?: boolean;
    objectFit?: "cover" | "contain";
    style?: ViewStyle;
    videoTrack?: VideoTrack;
    zOrder?: number;
}

Type declaration

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

Deprecated

use VideoTrack and VideoTrackProps instead.

+
\ No newline at end of file diff --git a/docs/types/RNKeyProviderOptions.html b/docs/types/RNKeyProviderOptions.html index d365aae..1e99dd3 100644 --- a/docs/types/RNKeyProviderOptions.html +++ b/docs/types/RNKeyProviderOptions.html @@ -1,2 +1,2 @@ -RNKeyProviderOptions | LiveKit React Native Client SDK - v2.8.0
RNKeyProviderOptions: KeyProviderOptions & {
    uncryptedMagicBytes?: string | Uint8Array;
}

Options for construction an RNKeyProvider

-

Type declaration

  • Optional uncryptedMagicBytes?: string | Uint8Array
\ No newline at end of file +RNKeyProviderOptions | LiveKit React Native Client SDK - v2.9.0
RNKeyProviderOptions: KeyProviderOptions & {
    uncryptedMagicBytes?: string | Uint8Array;
}

Options for construction an RNKeyProvider

+

Type declaration

  • Optional uncryptedMagicBytes?: string | Uint8Array
\ No newline at end of file diff --git a/docs/types/SetLogLevelOptions.html b/docs/types/SetLogLevelOptions.html index 760c9d3..221a88f 100644 --- a/docs/types/SetLogLevelOptions.html +++ b/docs/types/SetLogLevelOptions.html @@ -1 +1 @@ -SetLogLevelOptions | LiveKit React Native Client SDK - v2.8.0
SetLogLevelOptions: {
    liveKitClientLogLevel?: LogLevel;
}

Type declaration

  • Optional liveKitClientLogLevel?: LogLevel
\ No newline at end of file +SetLogLevelOptions | LiveKit React Native Client SDK - v2.9.0
SetLogLevelOptions: {
    liveKitClientLogLevel?: LogLevel;
}

Type declaration

  • Optional liveKitClientLogLevel?: LogLevel
\ No newline at end of file diff --git a/docs/types/UseRNE2EEManagerOptions.html b/docs/types/UseRNE2EEManagerOptions.html index 5bae15d..e8a577e 100644 --- a/docs/types/UseRNE2EEManagerOptions.html +++ b/docs/types/UseRNE2EEManagerOptions.html @@ -1 +1 @@ -UseRNE2EEManagerOptions | LiveKit React Native Client SDK - v2.8.0
UseRNE2EEManagerOptions: {
    keyProviderOptions?: RNKeyProviderOptions;
    sharedKey: string | Uint8Array;
}

Type declaration

\ No newline at end of file +UseRNE2EEManagerOptions | LiveKit React Native Client SDK - v2.9.0
UseRNE2EEManagerOptions: {
    keyProviderOptions?: RNKeyProviderOptions;
    sharedKey: string | Uint8Array;
}

Type declaration

\ No newline at end of file diff --git a/docs/types/VideoTrackProps.html b/docs/types/VideoTrackProps.html index 98bc907..ad70031 100644 --- a/docs/types/VideoTrackProps.html +++ b/docs/types/VideoTrackProps.html @@ -1,4 +1,4 @@ -VideoTrackProps | LiveKit React Native Client SDK - v2.8.0
VideoTrackProps: {
    iosPIP?: RTCIOSPIPOptions & {
        fallbackView?: ReactNode;
        preferredSize: {
            height: number;
            width: number;
        };
    };
    mirror?: boolean;
    objectFit?: "cover" | "contain";
    style?: ViewStyle;
    trackRef: TrackReference | undefined;
    zOrder?: number;
}

Props for the VideoTrack component.

+VideoTrackProps | LiveKit React Native Client SDK - v2.9.0
VideoTrackProps: {
    iosPIP?: RTCIOSPIPOptions & {
        fallbackView?: ReactNode;
        preferredSize: {
            height: number;
            width: number;
        };
    };
    mirror?: boolean;
    objectFit?: "cover" | "contain";
    style?: ViewStyle;
    trackRef: TrackReference | undefined;
    zOrder?: number;
}

Props for the VideoTrack component.

Type declaration

  • Optional iosPIP?: RTCIOSPIPOptions & {
        fallbackView?: ReactNode;
        preferredSize: {
            height: number;
            width: number;
        };
    }

    Picture in picture options for this view. Disabled if not supplied.

    iOS only. Requires iOS 15.0 or above, and the PIP background mode capability.

    If iosPIP.enabled is true, the methods startIOSPIP and stopIOSPIP @@ -31,4 +31,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).

    -
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/variables/AndroidAudioTypePresets.html b/docs/variables/AndroidAudioTypePresets.html index 4ed6eae..6ebd4ec 100644 --- a/docs/variables/AndroidAudioTypePresets.html +++ b/docs/variables/AndroidAudioTypePresets.html @@ -1,3 +1,3 @@ -AndroidAudioTypePresets | LiveKit React Native Client SDK - v2.8.0

Variable AndroidAudioTypePresetsConst

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

Type declaration

\ No newline at end of file diff --git a/docs/variables/log.html b/docs/variables/log.html index 953c55a..f5ee704 100644 --- a/docs/variables/log.html +++ b/docs/variables/log.html @@ -1 +1 @@ -log | LiveKit React Native Client SDK - v2.8.0
log: Logger = ...
\ No newline at end of file +log | LiveKit React Native Client SDK - v2.9.0
log: Logger = ...
\ No newline at end of file diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index c25baf6..08fe518 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -7,7 +7,7 @@ PODS: - hermes-engine (0.74.2): - hermes-engine/Pre-built (= 0.74.2) - hermes-engine/Pre-built (0.74.2) - - livekit-react-native (2.8.0): + - livekit-react-native (2.9.0): - DoubleConversion - glog - hermes-engine @@ -1425,7 +1425,7 @@ SPEC CHECKSUMS: fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120 glog: fdfdfe5479092de0c4bdbebedd9056951f092c4f hermes-engine: 01d3e052018c2a13937aca1860fbedbccd4a41b7 - livekit-react-native: f5555a11014ee4d00ff52e7d8d2148ac6c1eb3c5 + livekit-react-native: cef1e7116cf4cd0602f07089c99c327e6f9cf69c livekit-react-native-webrtc: 323f7edcea8d64e5abf1455d8c552b69cd2599b1 RCT-Folly: 02617c592a293bd6d418e0a88ff4ee1f88329b47 RCTDeprecation: b03c35057846b685b3ccadc9bfe43e349989cdb2 diff --git a/package.json b/package.json index 8918d64..cd22725 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@livekit/react-native", - "version": "2.8.0", + "version": "2.9.0", "description": "LiveKit for React Native", "main": "lib/commonjs/index", "module": "lib/module/index",