transports(daily): call on_transcription_message event handler

This commit is contained in:
Aleix Conchillo Flaqué
2024-11-06 15:10:58 -08:00
parent 74937411e6
commit 17f4286942

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"]