File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 "@livekit/agents" : " ^1.2.4" ,
3838 "@livekit/agents-plugin-livekit" : " ^1.2.4" ,
3939 "@livekit/agents-plugin-silero" : " ^1.2.4" ,
40- "@livekit/noise-cancellation-node " : " ^0.1.9 " ,
40+ "@livekit/plugins-ai-coustics " : " ^0.2.10 " ,
4141 "dotenv" : " ^17.4.1" ,
4242 "zod" : " ^3.25.76"
4343 }
Original file line number Diff line number Diff line change 99} from '@livekit/agents' ;
1010import * as livekit from '@livekit/agents-plugin-livekit' ;
1111import * as silero from '@livekit/agents-plugin-silero' ;
12- import { BackgroundVoiceCancellation } from '@livekit/noise-cancellation-node ' ;
12+ import { audioEnhancement } from '@livekit/plugins-ai-coustics ' ;
1313import dotenv from 'dotenv' ;
1414import { fileURLToPath } from 'node:url' ;
1515import { AGENT_MODEL , Agent } from './agent' ;
@@ -71,10 +71,9 @@ export default defineAgent({
7171 agent : new Agent ( ) ,
7272 room : ctx . room ,
7373 inputOptions : {
74- // LiveKit Cloud enhanced noise cancellation
75- // - If self-hosting, omit this parameter
76- // - For telephony applications, use `BackgroundVoiceCancellationTelephony` for best results
77- noiseCancellation : BackgroundVoiceCancellation ( ) ,
74+ // ai-coustics QUAIL audio enhancement for noise cancellation
75+ // Works for both WebRTC and telephony (SIP) participants
76+ noiseCancellation : audioEnhancement ( { model : 'quailVfL' } ) ,
7877 } ,
7978 } ) ;
8079
You can’t perform that action at this time.
0 commit comments