From 7ba8f83ad4eb41514c579c495012287cc701e868 Mon Sep 17 00:00:00 2001 From: Okkan SERIN Date: Thu, 19 Sep 2024 12:50:28 +0200 Subject: [PATCH] set the audio latency from 2s to 50ms --- pkg/pipeline/builder/audio.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/pipeline/builder/audio.go b/pkg/pipeline/builder/audio.go index 5517b49e..e4c2c375 100644 --- a/pkg/pipeline/builder/audio.go +++ b/pkg/pipeline/builder/audio.go @@ -27,7 +27,7 @@ import ( lksdk "github.com/livekit/server-sdk-go/v2" ) -const audioMixerLatency = uint64(2e9) +const audioMixerLatency = uint64(5e7) type AudioBin struct { bin *gstreamer.Bin