Releases: livekit/client-sdk-react-native
Releases · livekit/client-sdk-react-native
Release 2.6.0
10 Feb 16:20
Compare
Sorry, something went wrong.
No results found
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
Sorry, something went wrong.
No results found
Release 2.5.0
16 Dec 18:27
Compare
Sorry, something went wrong.
No results found
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:
Release 2.4.3
15 Oct 15:26
Compare
Sorry, something went wrong.
No results found
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
Sorry, something went wrong.
No results found
Release 2.4.1
21 Aug 03:57
Compare
Sorry, something went wrong.
No results found
2.4.1 (2024-08-21)
Bug Fixes
remove FOREGROUND_SERVICE_MEDIA_PROJECTION permission from lib (#172 ) (793ae2e )
Release 2.4.0
19 Aug 17:32
Compare
Sorry, something went wrong.
No results found
2.4.0 (2024-08-19)
Bug Fixes
fix useIosAudioManagement not getting mic/audio when going from playback to playAndRecord (#168 ) (f3b8302 )
Features
allow users to use screensharing without manual setup (#166 ) (ef9b901 )
Release 2.3.1
25 Jun 03:24
Compare
Sorry, something went wrong.
No results found
2.3.1 (2024-06-25)
Bug Fixes
Release 2.3.0
24 Jun 09:05
Compare
Sorry, something went wrong.
No results found
2.3.0 (2024-06-24)
Features
update webrtc to m125 (#153 ) (5c84173 )
This release requires updating your @livekit/react-native-webrtc to 125.0.0 or above.
Release 2.2.0
23 May 08:52
Compare
Sorry, something went wrong.
No results found
2.2.0 (2024-05-23)
Bug Fixes
fix TextDecoder polyfill not working (#147 ) (adb20c7 )
On React Native 0.74 onwards, this polyfill not working could cause exceptions when importing the package. If you are using RN 0.74, it's highly suggested to upgrade to the latest version.
Features
export useRoomInfo (#146 ) (39e4c60 )
handle changing output mode with AudioSession.configureAudio on android (#148 ) (bfbe09c )