Skip to content

Conversation

@hiroshihorie
Copy link
Member

@hiroshihorie hiroshihorie commented Sep 23, 2025

Check recording perm & AVAudioSession.category when enabling input for device rendering mode to avoid crashes.

@hiroshihorie hiroshihorie changed the title Recording perms checks Audio recording perms checks Sep 23, 2025
@hiroshihorie hiroshihorie merged commit 3681657 into m137_release Sep 25, 2025
3 checks passed
@hiroshihorie hiroshihorie deleted the hiroshi/audio-recording-checks branch September 25, 2025 11:42
hiroshihorie added a commit to livekit/client-sdk-swift that referenced this pull request Sep 29, 2025
Move audio recording perms checks from SDK to WebRTC.
Patch: webrtc-sdk/webrtc#200

A simple way to test this would be trying to enable mic while in a phone
call.
AVAudioSession activation fail will be detected in the lib, and report
error instead of crashing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants