transports: remove TransportParams.audio_out_is_live

This commit is contained in:
Aleix Conchillo Flaqué
2025-02-20 23:33:06 -08:00
parent 91fcaebe25
commit 01f083b7fc
3 changed files with 5 additions and 4 deletions

View File

@@ -30,6 +30,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
stt = DeepgramSTTService(..., live_options=LiveOptions(model="nova-2-general")) stt = DeepgramSTTService(..., live_options=LiveOptions(model="nova-2-general"))
``` ```
### Removed
- Remove `TransportParams.audio_out_is_live` since it was not being used at all.
### Fixed ### Fixed
- Fixed a context aggregator issue that would not append the LLM text response - Fixed a context aggregator issue that would not append the LLM text response

View File

@@ -38,7 +38,6 @@ async def main():
"GStreamer", "GStreamer",
DailyParams( DailyParams(
audio_out_enabled=True, audio_out_enabled=True,
audio_out_is_live=True,
camera_out_enabled=True, camera_out_enabled=True,
camera_out_width=1280, camera_out_width=1280,
camera_out_height=720, camera_out_height=720,

View File

@@ -4,7 +4,6 @@
# SPDX-License-Identifier: BSD 2-Clause License # SPDX-License-Identifier: BSD 2-Clause License
# #
import asyncio
import inspect import inspect
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
from typing import Optional from typing import Optional
@@ -30,7 +29,6 @@ class TransportParams(BaseModel):
camera_out_framerate: int = 30 camera_out_framerate: int = 30
camera_out_color_format: str = "RGB" camera_out_color_format: str = "RGB"
audio_out_enabled: bool = False audio_out_enabled: bool = False
audio_out_is_live: bool = False
audio_out_sample_rate: Optional[int] = None audio_out_sample_rate: Optional[int] = None
audio_out_channels: int = 1 audio_out_channels: int = 1
audio_out_bitrate: int = 96000 audio_out_bitrate: int = 96000