astonishing-waitress-60915
02/15/2026, 8:31 PMtall-airline-16756
02/15/2026, 8:31 PMtall-airline-16756
02/15/2026, 8:31 PMastonishing-waitress-60915
02/15/2026, 8:33 PMtall-airline-16756
02/15/2026, 8:33 PMnoise_suppression ve echo_cancellation gibi WebRTC ayarları kullanılabilir; gelişmiş modeller kadar etkili değildir.
• Krisp: Self-hosted’da desteklenmez.
Önemli kurulum adımları
1. Agent üzerinde gerekli plugin ve model dosyalarını indirin ve deploy edin.
2. Agent’ın çalıştığı sunucuda yeterli CPU ve bellek sağlayın (gürültü azaltma CPU yoğun olabilir).
3. Agent konfigürasyonunda ilgili noise cancellation filter’ı etkinleştirin (örnek kodlarda gösterildi).
Örnek — Python (agent-side)
from livekit import rtc
from livekit.agents import AgentSession, room_io
from livekit.plugins import noise_cancellation
async def on_participant_ready(ctx):
filter = (
noise_cancellation.BVCTelephony() # SIP / telephony için dar bant
if ctx.participant.kind == rtc.ParticipantKind.PARTICIPANT_KIND_SIP
else noise_cancellation.BVC() # WebRTC için tam bant
)
session = AgentSession(
stt="deepgram/nova-2",
llm="openai/gpt-4o",
tts="elevenlabs/flow",
)
await session.start(
room=ctx.room,
agent=None,
room_options=room_io.RoomOptions(
audio_input=room_io.AudioInputOptions(
noise_cancellation=filter
)
)
)
Örnek — Node.js / TypeScript (agent-side)
import { BackgroundVoiceCancellation, TelephonyBackgroundVoiceCancellation } from '@livekit/noise-cancellation-node';
import { AgentSession } from '@livekit/agents';
async function handleSession(ctx) {
const filter = ctx.participant.kind === 'SIP'
? TelephonyBackgroundVoiceCancellation()
: BackgroundVoiceCancellation();
const session = new AgentSession({
stt: 'deepgram/universal',
llm: 'openai/gpt-4o',
tts: 'cartesia/sonic-3',
});
await session.start({
room: ctx.room,
agent: null,
inputOptions: {
noiseCancellation: filter,
},
});
}
Tarayıcı tarafı (Basit, sınırlı)
const audioTrack = await LocalAudioTrack.createMicrophoneTrack({
noise_suppression: true,
echo_cancellation: true,
});
Not: Bu tarayıcı ayarları temel gürültü/eko önlemi sağlar; LiveKit’in gelişmiş modelleri kadar etkili değildir.
Yönlendirmeler / Sonraki adımlar
• Hangi ortamı kullanıyorsunuz? (Docker Compose, Kubernetes, doğrudan VM vb.)
• Hangi programlama dilini tercih ediyorsunuz (Python, Node.js, başka)?
• Kaç eşzamanlı ses akışı hedefliyorsunuz ve mevcut sunucu kaynaklarınız nedir?
Bunları paylaşırsanız size:
• Adım adım self-hosted kurulum talimatı,
• Model indirme/yerleştirme komutları,
• Kubernetes/Docker örnekleri ve kaynak planlama önerileri
hazırlayıp gönderebilirim.
İsterseniz hemen kullandığınız ortam ve dil ile başlayalım.
Sources: sip | livekit/livekit_composite | DeepWiki | Choosing the right noise cancellation for your agent | LiveKit | Self-hosted deployments | LiveKit Documentation | Understanding "silence detected on local audio track" Warning | LiveKit | Voice AI quickstart | LiveKit Documentation