gstreamer: update default sample rate to 24000

This commit is contained in:
Aleix Conchillo Flaqué
2024-12-04 14:41:44 -08:00
parent c395d1a234
commit 891f261191
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