Merge pull request #694 from pipecat-ai/aleix/daily-add-on-transcription-message

transports(daily): call on_transcription_message event handler
This commit is contained in:
Aleix Conchillo Flaqué
2024-11-06 15:21:17 -08:00
committed by GitHub

View File

@@ -1020,6 +1020,8 @@ class DailyTransport(BaseTransport):
await self._call_event_handler("on_first_participant_joined", participant)
async def _on_transcription_message(self, message):
await self._call_event_handler("on_transcription_message", message)
participant_id = ""
if "participantId" in message:
participant_id = message["participantId"]