这是indexloc提供的服务,不要输入任何密码
Skip to content

Releases: livekit/client-sdk-react-native

Release 2.6.3

05 Mar 10:25
Compare
Choose a tag to compare

2.6.3 (2025-03-05)

Bug Fixes

New Contributors

Full Changelog: v2.6.2...v2.6.3

Release 2.6.2

24 Feb 07:29
Compare
Choose a tag to compare

2.6.2 (2025-02-24)

Major Changes

The livekit-client package has been moved from a regular dependency to a peer dependency. You will need to add livekit-client as a separate dependency to your app:

NPM

npm install livekit-client

Yarn

yarn add livekit-client

Bug Fixes

  • change android native module to LivekitReactNativeModule to match ios (#201) (92daf81)
  • fix bridging header compile errors (#203) (e0142c1)
  • move livekit-client to peer dependency to fix type errors (#202) (c4a0572)

Release 2.6.2-0

18 Feb 13:35
Compare
Choose a tag to compare
Release 2.6.2-0 Pre-release
Pre-release

2.6.2-0 (2025-02-18)

Major Changes

The livekit-client package has been moved from a regular dependency to a peer dependency. You will need to add livekit-client as a separate dependency to your app:

NPM

npm install livekit-client

Yarn

yarn add livekit-client

Bug Fixes

  • change android native module to LivekitReactNativeModule to match ios (#201) (92daf81)
  • fix bridging header compile errors (#203) (e0142c1)
  • move livekit-client to peer dependency to fix type errors (#202) (c4a0572)

Release 2.6.1

17 Feb 08:29
Compare
Choose a tag to compare

2.6.1 (2025-02-17)

Bug Fixes

  • fix library not building when linked as a static framework (#198) (84bd1db)

Release 2.6.0

10 Feb 16:20
Compare
Choose a tag to compare

2.6.0 (2025-02-10)

Bug Fixes

  • fix crash on android when reloading javascript (#196) (0f24b42)

Features

  • native audio processing apis and various useTrackVolume hooks (#194) (8c96b92)

What's new

New Volume Hooks and BarVisualizer

  • The useTrackVolume hook returns the volume of an audio track.
let volume = useTrackVolume(audioTrack); // returns a number between 0-1
  • The useMultibandTrackVolume hook returns the volume of an audio track across multiple frequency bands.
let volumes = useMultibandTrackVolume(audioTrack); // returns an array of numbers between 0-1
  • The BarVisualizer component can be used to quickly get a visual representation of an audio track.
<BarVisualizer trackRef={audioTrack}/>

It can also be combined with the useVoiceAssistant hook to automatically transition the appearance based on the agent state:

function SimpleVoiceAssistant() {
  const { state, audioTrack } = useVoiceAssistant();
  return (
   <BarVisualizer
     state={state}
     trackRef={audioTrack}
   />
  );
}

Native APIs for audio processing

New apis are available at the native level for processing the audio:

// iOS
#import "LKAudioProcessingManager.h"
LKAudioProcessingManager *apm = LKAudioProcessingManager.sharedInstance.audioProcessingModule;

// Android
import com.livekit.reactnative.LiveKitReactNative;
AudioProcessingController apc = LiveKitReactNative.audioProcessingController;

Release 2.5.1

20 Dec 14:38
Compare
Choose a tag to compare

2.5.1 (2024-12-20)

What's Changed

  • chore: update react-native-webrtc to 125.0.7 by @davidliu in #187

Full Changelog: v2.5.0...v2.5.1

Release 2.5.0

16 Dec 18:27
Compare
Choose a tag to compare

2.5.0 (2024-12-16)

Features

Breaking Changes

This release bumps the minimum supported version for iOS to 14.0. You may need to change your Podfile to manually specify iOS 14.0 as the platform:

platform :ios, 14.0

Release 2.4.3

15 Oct 15:26
Compare
Choose a tag to compare

2.4.3 (2024-10-15)

Bug Fixes

  • fix useIOSAudioManagement audio tracking calculation (#178) (173a165)
  • update @livekit/react-native-webrtc peer dependency to 125.0.5
    • This fixes the camera capture on iOS devices with multiple cameras.

Release 2.4.2

16 Sep 14:34
Compare
Choose a tag to compare

2.4.2 (2024-09-16)

Changes

Full Changelog: v2.4.1...v2.4.2

Release 2.4.1

21 Aug 03:57
Compare
Choose a tag to compare

2.4.1 (2024-08-21)

Bug Fixes

  • remove FOREGROUND_SERVICE_MEDIA_PROJECTION permission from lib (#172) (793ae2e)