Expose update_remote_participants() from DailyTransport

This commit is contained in:
Paul Kompfner
2025-02-11 11:16:25 -05:00
parent 0a990b2aaa
commit 5a8279d3c2

View File

@@ -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)