Skip to content

Conversation

@hiroshihorie
Copy link
Contributor

@hiroshihorie hiroshihorie commented Sep 18, 2025

Needs new SDK with livekit/client-sdk-swift#786

callkit-example-720p.mov
  • Add more docs

```swift
func provider(_: CXProvider, didActivate session: AVAudioSession) {
do {
try session.setCategory(.playAndRecord, mode: .voiceChat, options: [.mixWithOthers])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just become the delegate and do it under the hood?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically, we could, but I’m starting to think that configuring AVAudioSession on the user’s behalf is not a good idea in the long run.

Copy link
Contributor

@pblazej pblazej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤙

@hiroshihorie hiroshihorie merged commit ebe531e into main Sep 23, 2025
2 checks passed
@hiroshihorie hiroshihorie deleted the hiroshi/callkit branch September 23, 2025 15:47
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