Releases: livekit/client-sdk-react-native
Releases · livekit/client-sdk-react-native
Release 2.6.3
2.6.3 (2025-03-05)
Bug Fixes
New Contributors
- @SaiChand-Headout made their first contribution in #209
Full Changelog: v2.6.2...v2.6.3
Release 2.6.2
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
Release 2.6.2-0
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
Release 2.6.1
Release 2.6.0
2.6.0 (2025-02-10)
Bug Fixes
Features
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;