Merge pull request #780 from pipecat-ai/aleix/gstreamer-default-sample-rate

gstreamer: update default sample rate to 24000
This commit is contained in:
Aleix Conchillo Flaqué
2024-12-04 19:09:02 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ async def main():
out_params=GStreamerPipelineSource.OutputParams(
video_width=1280,
video_height=720,
audio_sample_rate=16000,
audio_sample_rate=24000,
audio_channels=1,
),
)

View File

@@ -39,7 +39,7 @@ class GStreamerPipelineSource(FrameProcessor):
class OutputParams(BaseModel):
video_width: int = 1280
video_height: int = 720
audio_sample_rate: int = 16000
audio_sample_rate: int = 24000
audio_channels: int = 1
clock_sync: bool = True