diff --git a/docs/classes/AudioSession.html b/docs/classes/AudioSession.html index 8fda936a..5bff4e34 100644 --- a/docs/classes/AudioSession.html +++ b/docs/classes/AudioSession.html @@ -1,4 +1,4 @@ -AudioSession | LiveKit React Native Client SDK - v2.7.6

Constructors

constructor +AudioSession | LiveKit React Native Client SDK - v2.8.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>

\ 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 dc4d3c95..f122ddf4 100644 --- a/docs/classes/RNE2EEManager.html +++ b/docs/classes/RNE2EEManager.html @@ -1,6 +1,6 @@ -RNE2EEManager | LiveKit React Native Client SDK - v2.7.6

Class RNE2EEManagerExperimental

Hierarchy

  • TypedEventEmitter<E2EEManagerCallbacks, this>
    • RNE2EEManager

Implements

  • BaseE2EEManager

Constructors

constructor +RNE2EEManager | LiveKit React Native Client SDK - v2.8.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 b2645cb8..401c6ba0 100644 --- a/docs/classes/RNKeyProvider.html +++ b/docs/classes/RNKeyProvider.html @@ -1,4 +1,4 @@ -RNKeyProvider | LiveKit React Native Client SDK - v2.7.6

Class RNKeyProviderExperimental

Hierarchy

  • BaseKeyProvider
    • RNKeyProvider

Constructors

constructor +RNKeyProvider | LiveKit React Native Client SDK - v2.8.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 b1f48299..62a9cf02 100644 --- a/docs/functions/BarVisualizer.html +++ b/docs/functions/BarVisualizer.html @@ -1,6 +1,6 @@ -BarVisualizer | LiveKit React Native Client SDK - v2.7.6
  • Beta

    Visualizes audio signals from a TrackReference as bars. +BarVisualizer | LiveKit React Native Client SDK - v2.8.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 683a3723..eb640148 100644 --- a/docs/functions/LiveKitRoom.html +++ b/docs/functions/LiveKitRoom.html @@ -1,6 +1,6 @@ -LiveKitRoom | LiveKit React Native Client SDK - v2.7.6
  • The LiveKitRoom component provides the room context to all its child components. +LiveKitRoom | LiveKit React Native Client SDK - v2.8.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 67f7f20f..80c1a5ac 100644 --- a/docs/functions/VideoTrack.html +++ b/docs/functions/VideoTrack.html @@ -1,5 +1,5 @@ -VideoTrack | LiveKit React Native Client SDK - v2.7.6
  • VideoTrack component for displaying video tracks in a React Native application. +VideoTrack | LiveKit React Native Client SDK - v2.8.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<{}, {}, any>>

        See VideoTrackProps for details.

        +

        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 adee8d7a..edc47735 100644 --- a/docs/functions/VideoView.html +++ b/docs/functions/VideoView.html @@ -1,2 +1,2 @@ -VideoView | LiveKit React Native Client SDK - v2.7.6
  • Parameters

    Returns Element

    Deprecated

    use VideoTrack and VideoTrackProps instead.

    -
\ No newline at end of file +VideoView | LiveKit React Native Client SDK - v2.8.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 64f2aa43..bd12182c 100644 --- a/docs/functions/getDefaultAppleAudioConfigurationForMode.html +++ b/docs/functions/getDefaultAppleAudioConfigurationForMode.html @@ -1 +1 @@ -getDefaultAppleAudioConfigurationForMode | LiveKit React Native Client SDK - v2.7.6

Function getDefaultAppleAudioConfigurationForMode

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

Function getDefaultAppleAudioConfigurationForMode

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

    +registerGlobals | LiveKit React Native Client SDK - v2.8.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 e2d86078..c2dc1c48 100644 --- a/docs/functions/setLogLevel.html +++ b/docs/functions/setLogLevel.html @@ -1,3 +1,3 @@ -setLogLevel | LiveKit React Native Client SDK - v2.7.6
  • Set the log level for both the @livekit/react-native package and the @livekit-client package. +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. 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 c54cc293..cbd7f0e7 100644 --- a/docs/functions/sortParticipants.html +++ b/docs/functions/sortParticipants.html @@ -1,4 +1,4 @@ -sortParticipants | LiveKit React Native Client SDK - v2.7.6
  • Default sort for participants, it'll order participants by:

    +sortParticipants | LiveKit React Native Client SDK - v2.8.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 cf5b2031..cf4769e6 100644 --- a/docs/functions/useBarAnimator.html +++ b/docs/functions/useBarAnimator.html @@ -1 +1 @@ -useBarAnimator | LiveKit React Native Client SDK - v2.7.6
  • Parameters

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

    Returns number[]

\ No newline at end of file +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 diff --git a/docs/functions/useIOSAudioManagement.html b/docs/functions/useIOSAudioManagement.html index 30b89e07..16096059 100644 --- a/docs/functions/useIOSAudioManagement.html +++ b/docs/functions/useIOSAudioManagement.html @@ -1,4 +1,4 @@ -useIOSAudioManagement | LiveKit React Native Client SDK - v2.7.6

Returns void

\ No newline at end of file diff --git a/docs/functions/useMultibandTrackVolume.html b/docs/functions/useMultibandTrackVolume.html index 5a1f5d9f..d799f270 100644 --- a/docs/functions/useMultibandTrackVolume.html +++ b/docs/functions/useMultibandTrackVolume.html @@ -1,3 +1,3 @@ -useMultibandTrackVolume | LiveKit React Native Client SDK - v2.7.6
\ No newline at end of file diff --git a/docs/functions/useParticipant.html b/docs/functions/useParticipant.html index 32573d91..78170c25 100644 --- a/docs/functions/useParticipant.html +++ b/docs/functions/useParticipant.html @@ -1,2 +1,2 @@ -useParticipant | LiveKit React Native Client SDK - v2.7.6
\ No newline at end of file +useParticipant | LiveKit React Native Client SDK - v2.8.0
\ No newline at end of file diff --git a/docs/functions/useRNE2EEManager.html b/docs/functions/useRNE2EEManager.html index c69f4067..8bcc605b 100644 --- a/docs/functions/useRNE2EEManager.html +++ b/docs/functions/useRNE2EEManager.html @@ -1 +1 @@ -useRNE2EEManager | LiveKit React Native Client SDK - v2.7.6
\ No newline at end of file +useRNE2EEManager | LiveKit React Native Client SDK - v2.8.0
\ No newline at end of file diff --git a/docs/functions/useRoom.html b/docs/functions/useRoom.html index 4234bfd8..8d19a929 100644 --- a/docs/functions/useRoom.html +++ b/docs/functions/useRoom.html @@ -1,2 +1,2 @@ -useRoom | LiveKit React Native Client SDK - v2.7.6
  • 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.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 diff --git a/docs/functions/useTrackVolume.html b/docs/functions/useTrackVolume.html index d87f7d00..52bf311d 100644 --- a/docs/functions/useTrackVolume.html +++ b/docs/functions/useTrackVolume.html @@ -1,3 +1,3 @@ -useTrackVolume | LiveKit React Native Client SDK - v2.7.6
  • A hook for tracking the volume of an audio track.

    +useTrackVolume | LiveKit React Native Client SDK - v2.8.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 6262cf2a..0e7898d7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -LiveKit React Native Client SDK - v2.7.6

LiveKit React Native Client SDK - v2.7.6

+LiveKit React Native Client SDK - v2.8.0
\ 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 19bd2ab3..4d2ea0a0 100644 --- a/docs/interfaces/BarVisualizerProps.html +++ b/docs/interfaces/BarVisualizerProps.html @@ -1,9 +1,9 @@ -BarVisualizerProps | LiveKit React Native Client SDK - v2.7.6

Interface BarVisualizerPropsBeta

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

Properties

barCount? +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?: 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 5ed2870a..ab88b997 100644 --- a/docs/interfaces/LiveKitRoomProps.html +++ b/docs/interfaces/LiveKitRoomProps.html @@ -1,4 +1,4 @@ -LiveKitRoomProps | LiveKit React Native Client SDK - v2.7.6
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.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

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.

Default Value

false

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

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 dd8171ee..1a5be8e8 100644 --- a/docs/interfaces/MultiBandTrackVolumeOptions.html +++ b/docs/interfaces/MultiBandTrackVolumeOptions.html @@ -1,10 +1,10 @@ -MultiBandTrackVolumeOptions | LiveKit React Native Client SDK - v2.7.6

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.8.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 e19c72d6..df647cb9 100644 --- a/docs/interfaces/ParticipantState.html +++ b/docs/interfaces/ParticipantState.html @@ -1,5 +1,5 @@ -ParticipantState | LiveKit React Native Client SDK - v2.7.6

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.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?: 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 4fbd86e1..d3c15abf 100644 --- a/docs/interfaces/RNE2EEManagerState.html +++ b/docs/interfaces/RNE2EEManagerState.html @@ -1,3 +1,3 @@ -RNE2EEManagerState | LiveKit React Native Client SDK - v2.7.6
interface RNE2EEManagerState {
    e2eeManager: RNE2EEManager;
    keyProvider: RNKeyProvider;
}

Properties

e2eeManager +RNE2EEManagerState | LiveKit React Native Client SDK - v2.8.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 636bd4d0..6242caf5 100644 --- a/docs/interfaces/RoomOptions.html +++ b/docs/interfaces/RoomOptions.html @@ -1,2 +1,2 @@ -RoomOptions | LiveKit React Native Client SDK - v2.7.6
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.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 diff --git a/docs/interfaces/RoomState.html b/docs/interfaces/RoomState.html index b6bb2e49..1096cee6 100644 --- a/docs/interfaces/RoomState.html +++ b/docs/interfaces/RoomState.html @@ -1,5 +1,5 @@ -RoomState | LiveKit React Native Client SDK - v2.7.6
interface RoomState {
    audioTracks: AudioTrack[];
    error?: Error;
    participants: default[];
    room?: Room;
}

Properties

audioTracks +RoomState | LiveKit React Native Client SDK - v2.8.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 1dc0a002..e87e73b5 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1,4 +1,4 @@ -LiveKit React Native Client SDK - v2.7.6

LiveKit React Native Client SDK - v2.7.6

Index

Classes

AudioSession +LiveKit React Native Client SDK - v2.8.0

LiveKit React Native Client SDK - v2.8.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 bae80b97..9a7fd124 100644 --- a/docs/types/AndroidAudioTypeOptions.html +++ b/docs/types/AndroidAudioTypeOptions.html @@ -1,4 +1,4 @@ -AndroidAudioTypeOptions | LiveKit React Native Client SDK - v2.7.6
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.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.

      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 ce2ae22e..899b0d96 100644 --- a/docs/types/AppleAudioCategory.html +++ b/docs/types/AppleAudioCategory.html @@ -1 +1 @@ -AppleAudioCategory | LiveKit React Native Client SDK - v2.7.6
AppleAudioCategory: "soloAmbient" | "playback" | "record" | "playAndRecord" | "multiRoute"
\ No newline at end of file +AppleAudioCategory | LiveKit React Native Client SDK - v2.8.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 53d1a5d5..1178c3ef 100644 --- a/docs/types/AppleAudioCategoryOption.html +++ b/docs/types/AppleAudioCategoryOption.html @@ -1 +1 @@ -AppleAudioCategoryOption | LiveKit React Native Client SDK - v2.7.6
AppleAudioCategoryOption: "mixWithOthers" | "duckOthers" | "interruptSpokenAudioAndMixWithOthers" | "allowBluetooth" | "allowBluetoothA2DP" | "allowAirPlay" | "defaultToSpeaker"
\ No newline at end of file +AppleAudioCategoryOption | LiveKit React Native Client SDK - v2.8.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 3582db81..74fd0159 100644 --- a/docs/types/AppleAudioConfiguration.html +++ b/docs/types/AppleAudioConfiguration.html @@ -1 +1 @@ -AppleAudioConfiguration | LiveKit React Native Client SDK - v2.7.6
AppleAudioConfiguration: {
    audioCategory?: AppleAudioCategory;
    audioCategoryOptions?: AppleAudioCategoryOption[];
    audioMode?: AppleAudioMode;
}

Type declaration

\ No newline at end of file +AppleAudioConfiguration | LiveKit React Native Client SDK - v2.8.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 5ae59b8e..4d4647b0 100644 --- a/docs/types/AppleAudioMode.html +++ b/docs/types/AppleAudioMode.html @@ -1 +1 @@ -AppleAudioMode | LiveKit React Native Client SDK - v2.7.6
AppleAudioMode: "default" | "gameChat" | "measurement" | "moviePlayback" | "spokenAudio" | "videoChat" | "videoRecording" | "voiceChat" | "voicePrompt"
\ No newline at end of file +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 diff --git a/docs/types/AudioConfiguration.html b/docs/types/AudioConfiguration.html index 7306ec87..a0d538e5 100644 --- a/docs/types/AudioConfiguration.html +++ b/docs/types/AudioConfiguration.html @@ -1,4 +1,4 @@ -AudioConfiguration | LiveKit React Native Client SDK - v2.7.6
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.8.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 fcffd5f5..efa75670 100644 --- a/docs/types/AudioTrackState.html +++ b/docs/types/AudioTrackState.html @@ -1 +1 @@ -AudioTrackState | LiveKit React Native Client SDK - v2.7.6
AudioTrackState: "none" | "remoteOnly" | "localOnly" | "localAndRemote"
\ No newline at end of file +AudioTrackState | LiveKit React Native Client SDK - v2.8.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 511c5adb..b26a5035 100644 --- a/docs/types/BarVisualizerOptions.html +++ b/docs/types/BarVisualizerOptions.html @@ -1,3 +1,3 @@ -BarVisualizerOptions | LiveKit React Native Client SDK - v2.7.6
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.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

    • 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 23b51d1e..19719481 100644 --- a/docs/types/LogLevel.html +++ b/docs/types/LogLevel.html @@ -1 +1 @@ -LogLevel | LiveKit React Native Client SDK - v2.7.6
LogLevel: Parameters<typeof setClientSdkLogLevel>[0]
\ No newline at end of file +LogLevel | LiveKit React Native Client SDK - v2.8.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 5fc087c8..5349ec48 100644 --- a/docs/types/Props.html +++ b/docs/types/Props.html @@ -1,2 +1,2 @@ -Props | LiveKit React Native Client SDK - v2.7.6
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.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 diff --git a/docs/types/RNKeyProviderOptions.html b/docs/types/RNKeyProviderOptions.html index be27bca1..d365aae4 100644 --- a/docs/types/RNKeyProviderOptions.html +++ b/docs/types/RNKeyProviderOptions.html @@ -1,2 +1,2 @@ -RNKeyProviderOptions | LiveKit React Native Client SDK - v2.7.6
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.8.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 6f77e996..760c9d32 100644 --- a/docs/types/SetLogLevelOptions.html +++ b/docs/types/SetLogLevelOptions.html @@ -1 +1 @@ -SetLogLevelOptions | LiveKit React Native Client SDK - v2.7.6
SetLogLevelOptions: {
    liveKitClientLogLevel?: LogLevel;
}

Type declaration

  • Optional liveKitClientLogLevel?: LogLevel
\ No newline at end of file +SetLogLevelOptions | LiveKit React Native Client SDK - v2.8.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 7e62306a..5bae15d5 100644 --- a/docs/types/UseRNE2EEManagerOptions.html +++ b/docs/types/UseRNE2EEManagerOptions.html @@ -1 +1 @@ -UseRNE2EEManagerOptions | LiveKit React Native Client SDK - v2.7.6
UseRNE2EEManagerOptions: {
    keyProviderOptions?: RNKeyProviderOptions;
    sharedKey: string | Uint8Array;
}

Type declaration

\ No newline at end of file +UseRNE2EEManagerOptions | LiveKit React Native Client SDK - v2.8.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 29455942..98bc907e 100644 --- a/docs/types/VideoTrackProps.html +++ b/docs/types/VideoTrackProps.html @@ -1,4 +1,4 @@ -VideoTrackProps | LiveKit React Native Client SDK - v2.7.6
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.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.

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 268f56e8..4ed6eae6 100644 --- a/docs/variables/AndroidAudioTypePresets.html +++ b/docs/variables/AndroidAudioTypePresets.html @@ -1,3 +1,3 @@ -AndroidAudioTypePresets | LiveKit React Native Client SDK - v2.7.6

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 d4c885de..953c55af 100644 --- a/docs/variables/log.html +++ b/docs/variables/log.html @@ -1 +1 @@ -log | LiveKit React Native Client SDK - v2.7.6
log: Logger = ...
\ No newline at end of file +log | LiveKit React Native Client SDK - v2.8.0
log: Logger = ...
\ No newline at end of file diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 5873c85d..0ffe7012 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.7.6): + - livekit-react-native (2.8.0): - DoubleConversion - glog - hermes-engine @@ -29,9 +29,9 @@ PODS: - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - Yoga - - livekit-react-native-webrtc (125.0.10): + - livekit-react-native-webrtc (125.0.12): - React-Core - - WebRTC-SDK (~> 125.6422.07) + - WebRTC-SDK (= 125.6422.07) - RCT-Folly (2024.01.01.00): - boost - DoubleConversion @@ -1425,8 +1425,8 @@ SPEC CHECKSUMS: fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120 glog: fdfdfe5479092de0c4bdbebedd9056951f092c4f hermes-engine: 01d3e052018c2a13937aca1860fbedbccd4a41b7 - livekit-react-native: 8e38ec49c85b73338c796a2f6b383f5a30597970 - livekit-react-native-webrtc: eadea4c155d858c41ee25a44ef91b5788d074b4b + livekit-react-native: f5555a11014ee4d00ff52e7d8d2148ac6c1eb3c5 + livekit-react-native-webrtc: 11c960b83624b4474a79f80ca7a72fa46ae58add RCT-Folly: 02617c592a293bd6d418e0a88ff4ee1f88329b47 RCTDeprecation: b03c35057846b685b3ccadc9bfe43e349989cdb2 RCTRequired: 194626909cfa8d39ca6663138c417bc6c431648c diff --git a/package.json b/package.json index dea30687..2a26dfac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@livekit/react-native", - "version": "2.7.6", + "version": "2.8.0", "description": "LiveKit for React Native", "main": "lib/commonjs/index", "module": "lib/module/index",