Merge pull request #780 from pipecat-ai/aleix/gstreamer-default-sample-rate
gstreamer: update default sample rate to 24000
This commit is contained in:
@@ -53,7 +53,7 @@ async def main():
|
|||||||
out_params=GStreamerPipelineSource.OutputParams(
|
out_params=GStreamerPipelineSource.OutputParams(
|
||||||
video_width=1280,
|
video_width=1280,
|
||||||
video_height=720,
|
video_height=720,
|
||||||
audio_sample_rate=16000,
|
audio_sample_rate=24000,
|
||||||
audio_channels=1,
|
audio_channels=1,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ class GStreamerPipelineSource(FrameProcessor):
|
|||||||
class OutputParams(BaseModel):
|
class OutputParams(BaseModel):
|
||||||
video_width: int = 1280
|
video_width: int = 1280
|
||||||
video_height: int = 720
|
video_height: int = 720
|
||||||
audio_sample_rate: int = 16000
|
audio_sample_rate: int = 24000
|
||||||
audio_channels: int = 1
|
audio_channels: int = 1
|
||||||
clock_sync: bool = True
|
clock_sync: bool = True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user