rhythmic-plumber-379
03/25/2025, 4:39 PMtall-airline-16756
03/25/2025, 4:39 PMtall-airline-16756
03/25/2025, 4:39 PMawait AudioSession.configureAudio({
android: {
audioTypeOptions: AndroidAudioTypePresets.media,
},
});
await AudioSession.startAudioSession();
• For iOS: Verify that you have added the required permissions in your Info.plist:
<key>NSMicrophoneUsageDescription</key>
<string>$(PRODUCT_NAME) uses your microphone</string>
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
</array>
• Ensure that audio is enabled in your connection options. By default, audio is set to `false`:
audio: Boolean = false // capture and publish audio track on connect
• If using a CommunicationWorkaround, ensure you are properly calling the start()
method.
Let me know if you need further assistance!
Sources: LiveKit React Native Client SDK - v2.5.1 | Publishing tracks | LiveKit Docs | audio | CommunicationWorkaround