You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-14Lines changed: 24 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -176,29 +176,39 @@ For more audio related information see the [Audio guide](./Docs/audio.md).
176
176
177
177
### Integration with CallKit
178
178
179
-
To integrate with CallKitfor background-triggered incoming calls, LiveKit's audio session must be synchronized with CallKit's audio session:
179
+
When integrating with CallKit, proper timing and coordination between `AVAudioSession` and the SDK’s audio engine is crucial.
180
180
181
-
1. Add `import LiveKitWebRTC` to your CallProvider file.
182
-
2. In your `CXProviderDelegate` implementation, add the following:
181
+
1. Disable the SDK’s automatic `AVAudioSession` configuration. also prevent the audio engine from starting outside CallKit’s `didActivate` and `didDeactivate` window.
0 commit comments