Added await to self.start_word_timestamps()

This commit is contained in:
yukiobata1
2025-12-31 19:19:21 +09:00
parent 32c6dccebe
commit 4f93d331b7

View File

@@ -608,7 +608,7 @@ class AzureTTSService(WordTTSService):
await self.stop_ttfb_metrics() await self.stop_ttfb_metrics()
# Start word timestamps only once when we receive first audio # Start word timestamps only once when we receive first audio
if not self._word_timestamps_started: if not self._word_timestamps_started:
self.start_word_timestamps() await self.start_word_timestamps()
self._word_timestamps_started = True self._word_timestamps_started = True
frame = TTSAudioRawFrame( frame = TTSAudioRawFrame(