Skip to content

Commit

Permalink
Merge pull request #146 from pipecat-ai/daily-dont-send-tracks-if-not…
Browse files Browse the repository at this point in the history
…-enabled

transports(daily): don't send camera/audio tracks if not enabled
  • Loading branch information
aconchillo authored May 16, 2024
2 parents 9447b32 + 0da427e commit 1a42188
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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).

## [Unreleased]

### Fixed

- `DailyTransport`: don't publish camera and audio tracks if not enabled.

## [0.0.15] - 2024-05-15

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions src/pipecat/transports/services/daily.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,13 @@ def _join(self):
client_settings={
"inputs": {
"camera": {
"isEnabled": True,
"isEnabled": self._params.camera_out_enabled,
"settings": {
"deviceId": "camera",
},
},
"microphone": {
"isEnabled": True,
"isEnabled": self._params.audio_out_enabled,
"settings": {
"deviceId": "mic",
"customConstraints": {
Expand Down

0 comments on commit 1a42188

Please sign in to comment.