From d3d36a89e2db1ceae0625ccddce914777eff671b Mon Sep 17 00:00:00 2001 From: richtermb Date: Tue, 29 Jul 2025 10:48:50 -0700 Subject: [PATCH] Add _on_transcription_error method to DailyTransport for handling transcription error events --- src/pipecat/transports/services/daily.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pipecat/transports/services/daily.py b/src/pipecat/transports/services/daily.py index ceb65ea8b..9f312c1f7 100644 --- a/src/pipecat/transports/services/daily.py +++ b/src/pipecat/transports/services/daily.py @@ -1837,6 +1837,7 @@ class DailyTransport(BaseTransport): on_participant_left=self._on_participant_left, on_participant_updated=self._on_participant_updated, on_transcription_message=self._on_transcription_message, + on_transcription_error=self._on_transcription_error, on_recording_started=self._on_recording_started, on_recording_stopped=self._on_recording_stopped, on_recording_error=self._on_recording_error, @@ -2321,6 +2322,10 @@ class DailyTransport(BaseTransport): if self._input: await self._input.push_transcription_frame(frame) + async def _on_transcription_error(self, message): + """Handle transcription error events.""" + await self._call_event_handler("on_transcription_error", message) + async def _on_recording_started(self, status): """Handle recording started events.""" await self._call_event_handler("on_recording_started", status)