livekit / client-sdk-swift

LiveKit Swift Client SDK. Easily build live audio or video experiences into your mobile app, game or website.
https://livekit.io
Apache License 2.0
173 stars 84 forks source link

Audio switches to the Speaker after connection #390

Closed artemkrachulov closed 1 month ago

artemkrachulov commented 1 month ago

We're building an application where iOS Voip is combined with LiveKit. We have all configured modes, categories and options for the AudioSession depending on the type of the call: video or audio. The issue comes when the user connects to the room.

When a new call is reported and CXProvider activates audio session, AudioSession audio routes configured correct:

Describe the bug A clear and concise description of what the bug is.

SDK Version Please provide the SDK version.

iOS/macOS Version The OS version which the issue occurs.

Steps to Reproduce Steps to reproduce the behavior.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Logs Please provide logs if you can.