From c7ea47db0395aa184bb077c862377367b954f620 Mon Sep 17 00:00:00 2001 From: davidliu Date: Tue, 1 Oct 2024 12:12:35 +0900 Subject: [PATCH] fix --- .../main/java/io/livekit/android/sample/basic/MainActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/sample-app-basic/src/main/java/io/livekit/android/sample/basic/MainActivity.kt b/sample-app-basic/src/main/java/io/livekit/android/sample/basic/MainActivity.kt index 41254773..642f44c8 100644 --- a/sample-app-basic/src/main/java/io/livekit/android/sample/basic/MainActivity.kt +++ b/sample-app-basic/src/main/java/io/livekit/android/sample/basic/MainActivity.kt @@ -79,6 +79,7 @@ class MainActivity : AppCompatActivity() { ) } catch (e: Exception) { Log.e("MainActivity", "Error while connecting to server:", e) + return@launch } // Turn on audio/video recording.