From version < 60.1 >
edited by Danmei Chen
on 2021/03/23 09:44
To version < 61.1 >
edited by Danmei Chen
on 2021/03/30 14:42
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -198,12 +198,7 @@
198 198  {{code language="swift"}}
199 199  func provider(_ provider: CXProvider, perform action: CXAnswerCallAction) {
200 200   CallManager.instance().lc?.configureAudioSession()
201 - if (call == nil || call.state != Call.State.IncomingReceived) {
202 - // do something
203 - } else {
204 - // accept call here
205 - call.acceptWithParams(params: callParams)
206 - }
201 + // accept call here
207 207   action.fulfill()
208 208  }
209 209  
... ... @@ -210,7 +210,6 @@
210 210  func provider(_ provider: CXProvider, perform action: CXStartCallAction) {
211 211   CallManager.instance().lc?.configureAudioSession()
212 212   // start an outgoing call
213 - lc.inviteAddressWithParams(addr: addr, params: params)
214 214   action.fulfill()
215 215  }
216 216  {{/code}}
... ... @@ -345,6 +345,15 @@
345 345  
346 346  Here is the integration of callkit in [[linphone-iphone/ProviderDelegate.swift>>https://gitlab.linphone.org/BC/public/linphone-iphone/blob/master/Classes/ProviderDelegate.swift]].
347 347  
342 +=== Troubleshooting ===
343 +
344 +==== Distorted voice when using bluetooth devices ( using SDK 4.4.x) ====
345 +
346 +Error log: **"Too many samples to drop, dropping entire frame."**
347 +
348 +Solution: Add callback of AVAudioSessionRouteChangeNotification in your application, and call linphone_core_audio_route_changed(lc) in this callback. Here is the integration of Linphone [[linphone-iphone/LinphoneManager.m>>https://gitlab.linphone.org/BC/public/linphone-iphone/-/blob/release/4.3/Classes/LinphoneManager.m]].
349 +
350 +
348 348  == Technical solutions to advertise instant messages ==
349 349  
350 350  The table below summarizes the possible options. Remember that using PushKit is no longer possible since iOS 13 / Xcode 11.