Merge pull request #2456 from a6kme/patch-1

Only set last_frame_time when handling OutputAudioRawFrame
This commit is contained in:
Aleix Conchillo Flaqué
2025-09-11 16:56:25 -07:00
committed by GitHub

View File

@@ -671,7 +671,7 @@ class BaseOutputTransport(FrameProcessor):
frame = self._audio_queue.get_nowait()
if isinstance(frame, OutputAudioRawFrame):
frame.audio = await self._mixer.mix(frame.audio)
last_frame_time = time.time()
last_frame_time = time.time()
yield frame
except asyncio.QueueEmpty:
# Notify the bot stopped speaking upstream if necessary.