Skip to content

Commit

Permalink
Merge pull request #214 from pipecat-ai/aleix/pipecat-0.0.27
Browse files Browse the repository at this point in the history
transports(daily): added participants() and participant_counts()
  • Loading branch information
aconchillo authored Jun 5, 2024
2 parents 5ce4b8d + 50b51c0 commit 2d1ed9a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to **pipecat** will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.0.27] - 2024-06-05

### Added

- Added `DailyTransport.participants()` and `DailyTransport.participant_counts()`.

## [0.0.26] - 2024-06-05

### Added
Expand Down
12 changes: 12 additions & 0 deletions src/pipecat/transports/services/daily.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,12 @@ def _cleanup(self):
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)

Expand Down Expand Up @@ -715,6 +721,12 @@ async def send_audio(self, frame: AudioRawFrame):
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)

Expand Down

0 comments on commit 2d1ed9a

Please sign in to comment.