diff --git a/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/MediaManager.kt b/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/MediaManager.kt index 0a27e6891e..d213618718 100644 --- a/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/MediaManager.kt +++ b/stream-video-android-core/src/main/kotlin/io/getstream/video/android/core/MediaManager.kt @@ -428,7 +428,10 @@ class MicrophoneManager( /** * List the devices, returns a stateflow with audio devices */ - fun listDevices(): StateFlow> = devices + fun listDevices(): StateFlow> { + setup() + return devices + } fun cleanup() { ifAudioHandlerInitialized { it.stop() }