livekit_noise_filter 0.0.1
livekit_noise_filter: ^0.0.1 copied to clipboard
AI Noise Cancellation plugin for Livekit SDK.
Krisp for Flutter LiveKit SDK #
Currently supports iOS/macOS/Android
How to use #
You can add the krisp noise filter to your existing LiveKit app using the following steps.
- add
livekit_krisp_noise_filter
to yourpubspec.yaml
dependencies:
livekit_krisp_noise_filter:
path: ../krisp-noise-filter/packages/flutter
- Set krisp noise filter before connecting to room
final krispNoiseFilter = LiveKitKrispNoiseFilter();
final room = Room(
roomOptions: RoomOptions(
defaultAudioCaptureOptions: AudioCaptureOptions(
processor: krispNoiseFilter,
),
),
);
await _room!.connect(url, token);
await _room!.localParticipant!.setMicrophoneEnabled(true);
- You can turn the filter on or off to check that it is working properly.
krispNoiseFilter.setBypass(true | false);