Merge pull request #1265 from pipecat-ai/aleix/transport-remove-audio-out-is-live
This commit is contained in:
@@ -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 an issue where `EndTaskFrame` was not triggering `on_client_disconnected` or closing the WebSocket in FastAPI.
|
- Fixed an issue where `EndTaskFrame` was not triggering `on_client_disconnected` or closing the WebSocket in FastAPI.
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user