working local

This commit is contained in:
rahulpscraftech360 2025-08-21 15:37:09 +05:30
parent e381cf381b
commit 74e8fb0663
2 changed files with 1 additions and 2 deletions

View file

@ -23,7 +23,7 @@ async def handleAudioMessage(conn, audio):
# Skip VAD/ASR processing when server is speaking (streaming audio to client)
# This prevents interruptions during TTS playback
if conn.client_is_speaking:
conn.logger.bind(tag=TAG).debug("Server is speaking - skipping audio processing to prevent interruption")
# conn.logger.bind(tag=TAG).debug("Server is speaking - skipping audio processing to prevent interruption")
return
# Whether the current segment has someone speaking

View file

@ -24,7 +24,6 @@ class TTSProvider(TTSProviderBase):
"pitch": 0,
"emotion": "happy",
}
default_pronunciation_dict = {
"tone": ["处理/(chu3)(li3)", "危险/dangerous"]}
default_audio_setting = {