transports(daily): don't send camera/audio tracks if not enabled
This commit is contained in:
@@ -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/),
|
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).
|
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
|
## [0.0.15] - 2024-05-15
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -229,13 +229,13 @@ class DailyTransportClient(EventHandler):
|
|||||||
client_settings={
|
client_settings={
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"camera": {
|
"camera": {
|
||||||
"isEnabled": True,
|
"isEnabled": self._params.camera_out_enabled,
|
||||||
"settings": {
|
"settings": {
|
||||||
"deviceId": "camera",
|
"deviceId": "camera",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"microphone": {
|
"microphone": {
|
||||||
"isEnabled": True,
|
"isEnabled": self._params.audio_out_enabled,
|
||||||
"settings": {
|
"settings": {
|
||||||
"deviceId": "mic",
|
"deviceId": "mic",
|
||||||
"customConstraints": {
|
"customConstraints": {
|
||||||
|
|||||||
Reference in New Issue
Block a user