From d14253805048e909e0df2473683e53f717150e9c Mon Sep 17 00:00:00 2001 From: davidliu Date: Mon, 16 Sep 2024 23:32:05 +0900 Subject: [PATCH] chore: release 2.4.2 --- docs/classes/AudioSession.html | 16 +++++++-------- docs/functions/LiveKitRoom.html | 4 ++-- docs/functions/VideoTrack.html | 2 +- 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/useIOSAudioManagement.html | 4 ++-- docs/functions/useParticipant.html | 4 ++-- docs/functions/useRoom.html | 4 ++-- docs/index.html | 4 ++-- docs/interfaces/LiveKitRoomProps.html | 20 +++++++++---------- docs/interfaces/ParticipantState.html | 6 +++--- 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/LogLevel.html | 2 +- docs/types/Props.html | 4 ++-- docs/types/SetLogLevelOptions.html | 2 +- docs/types/VideoTrackProps.html | 2 +- docs/variables/AndroidAudioTypePresets.html | 4 ++-- docs/variables/log.html | 2 +- example/ios/Podfile.lock | 8 ++++---- package.json | 2 +- 32 files changed, 69 insertions(+), 69 deletions(-) diff --git a/docs/classes/AudioSession.html b/docs/classes/AudioSession.html index 8f184cc..dee6e68 100644 --- a/docs/classes/AudioSession.html +++ b/docs/classes/AudioSession.html @@ -1,4 +1,4 @@ -AudioSession | LiveKit React Native Client SDK - v2.4.1

Constructors

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

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:

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

    Returns Promise<string[]>

    the available audio output types

    -
  • Select the provided audio output if available.

    +
  • Directly change the AVAudioSession category/mode.

    +

Returns Promise<void>

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

  • 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/functions/LiveKitRoom.html b/docs/functions/LiveKitRoom.html index c74df88..b4419bf 100644 --- a/docs/functions/LiveKitRoom.html +++ b/docs/functions/LiveKitRoom.html @@ -1,6 +1,6 @@ -LiveKitRoom | LiveKit React Native Client SDK - v2.4.1
  • The LiveKitRoom component provides the room context to all its child components. +LiveKitRoom | LiveKit React Native Client SDK - v2.4.2

    • 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 e0561db..3f3d794 100644 --- a/docs/functions/VideoTrack.html +++ b/docs/functions/VideoTrack.html @@ -1 +1 @@ -VideoTrack | LiveKit React Native Client SDK - v2.4.1
\ No newline at end of file +VideoTrack | LiveKit React Native Client SDK - v2.4.2
\ No newline at end of file diff --git a/docs/functions/VideoView.html b/docs/functions/VideoView.html index a292f21..55d8e39 100644 --- a/docs/functions/VideoView.html +++ b/docs/functions/VideoView.html @@ -1,2 +1,2 @@ -VideoView | LiveKit React Native Client SDK - v2.4.1
  • Parameters

    Returns Element

    Deprecated

    use VideoTrack and VideoTrackProps instead.

    -
\ No newline at end of file +VideoView | LiveKit React Native Client SDK - v2.4.2
  • 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 7c01507..a13ee65 100644 --- a/docs/functions/getDefaultAppleAudioConfigurationForMode.html +++ b/docs/functions/getDefaultAppleAudioConfigurationForMode.html @@ -1 +1 @@ -getDefaultAppleAudioConfigurationForMode | LiveKit React Native Client SDK - v2.4.1

Function getDefaultAppleAudioConfigurationForMode

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

Function getDefaultAppleAudioConfigurationForMode

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

    +registerGlobals | LiveKit React Native Client SDK - v2.4.2
    • 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 c296b00..4d8869a 100644 --- a/docs/functions/setLogLevel.html +++ b/docs/functions/setLogLevel.html @@ -1,3 +1,3 @@ -setLogLevel | LiveKit React Native Client SDK - v2.4.1
  • Set the log level for both the @livekit/react-native package and the @livekit-client package. +setLogLevel | LiveKit React Native Client SDK - v2.4.2

    • 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 36a36ef..e79570f 100644 --- a/docs/functions/sortParticipants.html +++ b/docs/functions/sortParticipants.html @@ -1,4 +1,4 @@ -sortParticipants | LiveKit React Native Client SDK - v2.4.1
  • Default sort for participants, it'll order participants by:

    +sortParticipants | LiveKit React Native Client SDK - v2.4.2
    • 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/useIOSAudioManagement.html b/docs/functions/useIOSAudioManagement.html index d26a8ac..9fa90ca 100644 --- a/docs/functions/useIOSAudioManagement.html +++ b/docs/functions/useIOSAudioManagement.html @@ -1,4 +1,4 @@ -useIOSAudioManagement | LiveKit React Native Client SDK - v2.4.1

Returns void

\ No newline at end of file diff --git a/docs/functions/useParticipant.html b/docs/functions/useParticipant.html index 009601a..519359d 100644 --- a/docs/functions/useParticipant.html +++ b/docs/functions/useParticipant.html @@ -1,2 +1,2 @@ -useParticipant | LiveKit React Native Client SDK - v2.4.1
\ No newline at end of file +useParticipant | LiveKit React Native Client SDK - v2.4.2
\ No newline at end of file diff --git a/docs/functions/useRoom.html b/docs/functions/useRoom.html index d5f9768..ec6946f 100644 --- a/docs/functions/useRoom.html +++ b/docs/functions/useRoom.html @@ -1,2 +1,2 @@ -useRoom | LiveKit React Native Client SDK - v2.4.1
  • 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.4.2
  • 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/index.html b/docs/index.html index 74f6477..ea2a540 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -LiveKit React Native Client SDK - v2.4.1

LiveKit React Native Client SDK - v2.4.1

+LiveKit React Native Client SDK - v2.4.2
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/interfaces/LiveKitRoomProps.html b/docs/interfaces/LiveKitRoomProps.html index c9d8d26..dd2478e 100644 --- a/docs/interfaces/LiveKitRoomProps.html +++ b/docs/interfaces/LiveKitRoomProps.html @@ -1,4 +1,4 @@ -LiveKitRoomProps | LiveKit React Native Client SDK - v2.4.1
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.4.2
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/ParticipantState.html b/docs/interfaces/ParticipantState.html index e9ac4f2..6ad7796 100644 --- a/docs/interfaces/ParticipantState.html +++ b/docs/interfaces/ParticipantState.html @@ -1,5 +1,5 @@ -ParticipantState | LiveKit React Native Client SDK - v2.4.1

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

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/RoomOptions.html b/docs/interfaces/RoomOptions.html index 30d8902..715607e 100644 --- a/docs/interfaces/RoomOptions.html +++ b/docs/interfaces/RoomOptions.html @@ -1,2 +1,2 @@ -RoomOptions | LiveKit React Native Client SDK - v2.4.1
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.4.2
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 8eb5e59..1257cce 100644 --- a/docs/interfaces/RoomState.html +++ b/docs/interfaces/RoomState.html @@ -1,5 +1,5 @@ -RoomState | LiveKit React Native Client SDK - v2.4.1
interface RoomState {
    audioTracks: AudioTrack[];
    error?: Error;
    participants: default[];
    room?: Room;
}

Properties

audioTracks +RoomState | LiveKit React Native Client SDK - v2.4.2
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 1a5fed9..7c22d9c 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1,4 +1,4 @@ -LiveKit React Native Client SDK - v2.4.1

LiveKit React Native Client SDK - v2.4.1

Index

Classes

AudioSession +LiveKit React Native Client SDK - v2.4.2

LiveKit React Native Client SDK - v2.4.2

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 ed3fb5b..262bba6 100644 --- a/docs/types/AndroidAudioTypeOptions.html +++ b/docs/types/AndroidAudioTypeOptions.html @@ -1,4 +1,4 @@ -AndroidAudioTypeOptions | LiveKit React Native Client SDK - v2.4.1
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.4.2
    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 ddaddf0..a188032 100644 --- a/docs/types/AppleAudioCategory.html +++ b/docs/types/AppleAudioCategory.html @@ -1 +1 @@ -AppleAudioCategory | LiveKit React Native Client SDK - v2.4.1
AppleAudioCategory: "soloAmbient" | "playback" | "record" | "playAndRecord" | "multiRoute"
\ No newline at end of file +AppleAudioCategory | LiveKit React Native Client SDK - v2.4.2
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 c90dadf..a134be0 100644 --- a/docs/types/AppleAudioCategoryOption.html +++ b/docs/types/AppleAudioCategoryOption.html @@ -1 +1 @@ -AppleAudioCategoryOption | LiveKit React Native Client SDK - v2.4.1
AppleAudioCategoryOption: "mixWithOthers" | "duckOthers" | "interruptSpokenAudioAndMixWithOthers" | "allowBluetooth" | "allowBluetoothA2DP" | "allowAirPlay" | "defaultToSpeaker"
\ No newline at end of file +AppleAudioCategoryOption | LiveKit React Native Client SDK - v2.4.2
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 26e279d..60514d5 100644 --- a/docs/types/AppleAudioConfiguration.html +++ b/docs/types/AppleAudioConfiguration.html @@ -1 +1 @@ -AppleAudioConfiguration | LiveKit React Native Client SDK - v2.4.1
AppleAudioConfiguration: {
    audioCategory?: AppleAudioCategory;
    audioCategoryOptions?: AppleAudioCategoryOption[];
    audioMode?: AppleAudioMode;
}

Type declaration

\ No newline at end of file +AppleAudioConfiguration | LiveKit React Native Client SDK - v2.4.2
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 dca8053..52d6ae5 100644 --- a/docs/types/AppleAudioMode.html +++ b/docs/types/AppleAudioMode.html @@ -1 +1 @@ -AppleAudioMode | LiveKit React Native Client SDK - v2.4.1
AppleAudioMode: "default" | "gameChat" | "measurement" | "moviePlayback" | "spokenAudio" | "videoChat" | "videoRecording" | "voiceChat" | "voicePrompt"
\ No newline at end of file +AppleAudioMode | LiveKit React Native Client SDK - v2.4.2
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 1fda2e9..9414ae6 100644 --- a/docs/types/AudioConfiguration.html +++ b/docs/types/AudioConfiguration.html @@ -1,4 +1,4 @@ -AudioConfiguration | LiveKit React Native Client SDK - v2.4.1
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.4.2
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 71b6838..470a160 100644 --- a/docs/types/AudioTrackState.html +++ b/docs/types/AudioTrackState.html @@ -1 +1 @@ -AudioTrackState | LiveKit React Native Client SDK - v2.4.1
AudioTrackState: "none" | "remoteOnly" | "localOnly" | "localAndRemote"
\ No newline at end of file +AudioTrackState | LiveKit React Native Client SDK - v2.4.2
AudioTrackState: "none" | "remoteOnly" | "localOnly" | "localAndRemote"
\ No newline at end of file diff --git a/docs/types/LogLevel.html b/docs/types/LogLevel.html index 00a4868..4550a98 100644 --- a/docs/types/LogLevel.html +++ b/docs/types/LogLevel.html @@ -1 +1 @@ -LogLevel | LiveKit React Native Client SDK - v2.4.1
LogLevel: Parameters<typeof setClientSdkLogLevel>[0]
\ No newline at end of file +LogLevel | LiveKit React Native Client SDK - v2.4.2
LogLevel: Parameters<typeof setClientSdkLogLevel>[0]
\ No newline at end of file diff --git a/docs/types/Props.html b/docs/types/Props.html index 5231052..108b29d 100644 --- a/docs/types/Props.html +++ b/docs/types/Props.html @@ -1,2 +1,2 @@ -Props | LiveKit React Native Client SDK - v2.4.1
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.4.2
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/SetLogLevelOptions.html b/docs/types/SetLogLevelOptions.html index b1b6e6f..8285cb1 100644 --- a/docs/types/SetLogLevelOptions.html +++ b/docs/types/SetLogLevelOptions.html @@ -1 +1 @@ -SetLogLevelOptions | LiveKit React Native Client SDK - v2.4.1
SetLogLevelOptions: {
    liveKitClientLogLevel?: LogLevel;
}

Type declaration

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

Type declaration

  • Optional liveKitClientLogLevel?: LogLevel
\ No newline at end of file diff --git a/docs/types/VideoTrackProps.html b/docs/types/VideoTrackProps.html index a5741fb..16e01e3 100644 --- a/docs/types/VideoTrackProps.html +++ b/docs/types/VideoTrackProps.html @@ -1 +1 @@ -VideoTrackProps | LiveKit React Native Client SDK - v2.4.1
VideoTrackProps: {
    mirror?: boolean;
    objectFit?: "cover" | "contain";
    style?: ViewStyle;
    trackRef: TrackReference | undefined;
    zOrder?: number;
}

Type declaration

  • Optional mirror?: boolean
  • Optional objectFit?: "cover" | "contain"
  • Optional style?: ViewStyle
  • trackRef: TrackReference | undefined
  • Optional zOrder?: number
\ No newline at end of file +VideoTrackProps | LiveKit React Native Client SDK - v2.4.2
VideoTrackProps: {
    mirror?: boolean;
    objectFit?: "cover" | "contain";
    style?: ViewStyle;
    trackRef: TrackReference | undefined;
    zOrder?: number;
}

Type declaration

  • Optional mirror?: boolean
  • Optional objectFit?: "cover" | "contain"
  • Optional style?: ViewStyle
  • trackRef: TrackReference | undefined
  • Optional zOrder?: number
\ No newline at end of file diff --git a/docs/variables/AndroidAudioTypePresets.html b/docs/variables/AndroidAudioTypePresets.html index c63d709..939663a 100644 --- a/docs/variables/AndroidAudioTypePresets.html +++ b/docs/variables/AndroidAudioTypePresets.html @@ -1,3 +1,3 @@ -AndroidAudioTypePresets | LiveKit React Native Client SDK - v2.4.1

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 1bf3bae..00bac26 100644 --- a/docs/variables/log.html +++ b/docs/variables/log.html @@ -1 +1 @@ -log | LiveKit React Native Client SDK - v2.4.1
log: Logger = ...
\ No newline at end of file +log | LiveKit React Native Client SDK - v2.4.2
log: Logger = ...
\ No newline at end of file diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 123cb8d..1e61022 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -7,10 +7,10 @@ PODS: - hermes-engine (0.74.2): - hermes-engine/Pre-built (= 0.74.2) - hermes-engine/Pre-built (0.74.2) - - livekit-react-native (2.4.1): + - livekit-react-native (2.4.2): - livekit-react-native-webrtc - React-Core - - livekit-react-native-webrtc (125.0.3): + - livekit-react-native-webrtc (125.0.4): - React-Core - WebRTC-SDK (~> 125.6422.04) - RCT-Folly (2024.01.01.00): @@ -1406,8 +1406,8 @@ SPEC CHECKSUMS: fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120 glog: fdfdfe5479092de0c4bdbebedd9056951f092c4f hermes-engine: 01d3e052018c2a13937aca1860fbedbccd4a41b7 - livekit-react-native: b7f6b4b46b4fbd82cf97208d3dcfb64fb702ab0b - livekit-react-native-webrtc: 33a7d7e4f0d321208d1a86e2c33f266654e83eb3 + livekit-react-native: e9b507c3df7d55d9c306a9d3ac7455d02ce3596f + livekit-react-native-webrtc: 87d2a762578bb54930e2b3da661e0e7ee895a0ca RCT-Folly: 02617c592a293bd6d418e0a88ff4ee1f88329b47 RCTDeprecation: b03c35057846b685b3ccadc9bfe43e349989cdb2 RCTRequired: 194626909cfa8d39ca6663138c417bc6c431648c diff --git a/package.json b/package.json index 8036517..4ae93dd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@livekit/react-native", - "version": "2.4.1", + "version": "2.4.2", "description": "LiveKit for React Native", "main": "lib/commonjs/index", "module": "lib/module/index",