transports(daily): added participants() and participant_counts()

This commit is contained in:
Aleix Conchillo Flaqué
2024-06-05 12:14:00 -07:00
parent 5ce4b8dd5b
commit 50b51c05f6
2 changed files with 18 additions and 0 deletions

View File

@@ -346,6 +346,12 @@ class DailyTransportClient(EventHandler):
self._client.release()
self._client = None
def participants(self):
return self._client.participants()
def participant_counts(self):
return self._client.participant_counts()
def start_dialout(self, settings):
self._client.start_dialout(settings)
@@ -715,6 +721,12 @@ class DailyTransport(BaseTransport):
if self._output:
await self._output.process_frame(frame, FrameDirection.DOWNSTREAM)
def participants(self):
return self._client.participants()
def participant_counts(self):
return self._client.participant_counts()
def start_dialout(self, settings=None):
self._client.start_dialout(settings)