callkit

No audio after incoming GSM call disconnected when using CallKit for pjsip iOS app

懵懂的女人 提交于 2019-12-25 17:07:09
问题 When getting incoming GSM calls, I choose hold and accept option. I get the callback from my controller and I put my VoIP call on hold. Normal GSM call audio looks good. Now, when the user disconnects the GSM call using CallKit interface, I get the callback from my setheld action. I unhold my pjsip VoIP call. Once i recieve deactivate from call kit pjsua_aud.c ..Closing iPhone IO device sound playback device and iPhone IO device sound capture device 17:52:26.666 coreaudio_dev.c ..core audio

AudioUnitInitialize failed with error code 1701737535 'ent?' after alarm interruption

旧城冷巷雨未停 提交于 2019-12-24 22:04:44
问题 I am working with VOIP app. The app is working fine with CallKit. I am facing an issue if alarm fires within call. Every time when alarm stop firing (Audio Interruption ends), we are trying to setActive: on AVAudioSession. But it always gives an error with code 1701737535 ie. 'ent?'. The same error occurs when I am trying to initialize Audio Unit. Without using CallKit it's working fine. Anybody faced issue with activating Audio Session when Audio Interruption ends. I am getting different

iOS - Trigger outgoing VOIP Call on clicking the caller in the native iOS Recent call table view

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 12:05:13
问题 I have implemented the CallKit for my App to trigger/receive both Audio and Video Call within our App by using WebRTC. Which is working seamlessly without any problem. As I see there are 3 ways to trigger a call from Call Kit. Performing an interaction within the app Opening a link with a supported custom URL scheme Initiating a VoIP call using Siri As of now, I don't have any requirement to initiate the call using Siri but we need to initiate the call when the user clicks on any cell in the

CallKit - displaying outgoing call into recent call list

末鹿安然 提交于 2019-12-24 10:56:38
问题 I am implementing a VoIP application, there I handled remote party for incoming call like - (NSUUID *)reportIncomingCallWithContactIdentifier:(NSString *)identifier name:(NSString *)name telNumber:(NSString *)telnum completion:(ADCallKitManagerCompletion)completion { NSUUID *callUUID = [NSUUID UUID]; CXCallUpdate *callUpdate = [[CXCallUpdate alloc] init]; //callUpdate.callerIdentifier = identifier; callUpdate.localizedCallerName = name; callUpdate.supportsHolding = NO; callUpdate

continue userActivity: NSUserActivity - Identify it is from callkit or contacts

我们两清 提交于 2019-12-24 03:01:33
问题 I have implemented callkit in my project. So when I report incoming call there is video button. so according to this answer user102008's Answer When user tap on video button func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool Delegate method called with intent type INStartVideoCallIntent But There is other case where the same delegate method called with INStartVideoCallIntent when

continue userActivity: NSUserActivity - Identify it is from callkit or contacts

爷,独闯天下 提交于 2019-12-24 03:01:02
问题 I have implemented callkit in my project. So when I report incoming call there is video button. so according to this answer user102008's Answer When user tap on video button func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool Delegate method called with intent type INStartVideoCallIntent But There is other case where the same delegate method called with INStartVideoCallIntent when

Short circuiting of audio in VOIP app with CallKit

荒凉一梦 提交于 2019-12-22 10:53:08
问题 I'm using the SpeakerBox app as a basis for my VOIP app. I have managed to get everything working, but I can't seem to get rid of the "short-circuiting" of the audio from the mic to the speaker of the device. In other words, when I make a call, I can hear myself in the speaker as well as the other person's voice. How can I change this? AVAudioSession setup: AVAudioSession *sessionInstance = [AVAudioSession sharedInstance]; NSError *error = nil; [sessionInstance setCategory

iOS 10 : How can I get a call event using CallKit/CXCallObserver?

a 夏天 提交于 2019-12-22 08:39:01
问题 I changed the CTCallCenter with CXCallObserver in iOS 10. Here is my code: #import <CallKit/CXCallObserver.h> #import <CallKit/CXCall.h> -(void)viewDidLoad { CXCallObserver *callObserver = [[CXCallObserver alloc] init]; [callObserver setDelegate:self queue:nil]; ... ... } - (void)callObserver:(CXCallObserver *)callObserver callChanged:(CXCall *)call { if (call.hasConnected) { NSLog(@"********** voice call connected **********/n"); } else if(call.hasEnded) { NSLog(@"********** voice call

CallKit find number used to start app from native phone app

时光总嘲笑我的痴心妄想 提交于 2019-12-21 20:24:33
问题 I've implemented CallKit in our app. Calls our app makes are displayed in the native phone app's recents list. When tapping an entry for our app in the recents list, our app is started. Is there a way to find out which number(/entry) was used to start our app? (openURL or something) 回答1: You'll want to implement application(application: UIApplication, continueUserActivity userActivity: NSUserActivity, restorationHandler: ([AnyObject]?) -> Void) -> Bool on the AppDelegate. For this particular

How can we handle multiple calls with pjsip and callkit

冷暖自知 提交于 2019-12-21 17:29:01
问题 We are facing an issue regarding callKit Framework by iOS. We have to implement following functionalities in app. One to One call (Working fine) . we can end and accept second call (Working fine) . we can hold and accept calls (max 2 calls). we can switch between calls. Hold/Unhold current call. Issue : The issues we are facing are : We are able to accept second call which have no audio when hold and accept. Switch call button from call kit is disabled. We have done following implementation