Skip to content

Commit fa6f924

Browse files
committed
Log Daily participant and meeting session IDs upon successful join in Daily Transport
1 parent 024809b commit fa6f924

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/pipecat/transports/daily/transport.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,11 @@ async def join(self):
759759
# Increment leave counter if we successfully joined.
760760
self._leave_counter += 1
761761

762-
logger.info(f"Joined {self._room_url}")
762+
participant_id = data.get("participants", {}).get("local", {}).get("id")
763+
meeting_id = data.get("meetingSession", {}).get("id")
764+
logger.info(
765+
f"Joined {self._room_url}. Participant ID: {participant_id}, Meeting ID: {meeting_id}"
766+
)
763767

764768
await self._callbacks.on_joined(data)
765769

0 commit comments

Comments
 (0)