diff --git a/src/pipecat/transports/services/daily.py b/src/pipecat/transports/services/daily.py index b67bede4a..b71d1ce30 100644 --- a/src/pipecat/transports/services/daily.py +++ b/src/pipecat/transports/services/daily.py @@ -690,6 +690,13 @@ class DailyTransportClient(EventHandler): ) await future + async def update_remote_participants(self, remote_participants: Mapping[str, Any] = None): + future = self._get_event_loop().create_future() + self._client.update_remote_participants( + remote_participants=remote_participants, completion=completion_callback(future) + ) + await future + # # # Daily (EventHandler) @@ -1167,6 +1174,9 @@ class DailyTransport(BaseTransport): participant_settings=participant_settings, profile_settings=profile_settings ) + async def update_remote_participants(self, remote_participants: Mapping[str, Any] = None): + await self._client.update_remote_participants(remote_participants=remote_participants) + async def _on_joined(self, data): await self._call_event_handler("on_joined", data)