From 2706b154240e6d5adeec000f09e285e3b2858e2b Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Tue, 19 Nov 2024 18:34:27 +0200 Subject: [PATCH] An attempt to fix the sound issues --- crates/live_kit_client/src/live_kit_client.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/live_kit_client/src/live_kit_client.rs b/crates/live_kit_client/src/live_kit_client.rs index bb77eafdf7bd80..c1ec9ce93b8ebf 100644 --- a/crates/live_kit_client/src/live_kit_client.rs +++ b/crates/live_kit_client/src/live_kit_client.rs @@ -218,11 +218,11 @@ pub fn capture_local_audio_track( ); } if let Some(stream) = &stream { - loop { - stream.play().log_err(); - } + stream.play().log_err(); } + loop {} + Ok(Some(())) });