-
Notifications
You must be signed in to change notification settings - Fork 7
CallKit minimal demo #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| ```swift | ||
| func provider(_: CXProvider, didActivate session: AVAudioSession) { | ||
| do { | ||
| try session.setCategory(.playAndRecord, mode: .voiceChat, options: [.mixWithOthers]) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
pblazej
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤙
Needs new SDK with livekit/client-sdk-swift#786
callkit-example-720p.mov