miniature-air-74519
09/26/2025, 5:53 PMtall-airline-16756
09/26/2025, 5:53 PMtall-airline-16756
09/26/2025, 5:54 PMAudioCaptureOptions for microphone settings in the LiveKit iOS SDK, which do vary depending on your environment:
• *On a physical iOS device:*This happens because Apple’s built-in Voice-Processing I/O takes care of echo cancellation, gain control, and noise suppression right at the system level, so the SDK doesn’t need to handle those.
◦ echoCancellation = false
◦ autoGainControl = false
◦ noiseSuppression = false
• *On the iOS simulator:*Here, these settings are enabled since Apple’s Voice-Processing I/O isn’t available in the simulator. So, the SDK relies on WebRTC’s software-based processing to fill in.
◦ echoCancellation = true
◦ autoGainControl = true
◦ noiseSuppression = true
Also, just so you know, properties like highpassFilter and typingNoiseDetection default to false if you don’t specify them.
Sources: Tests/LiveKitTests/AudioProcessingTests.swift