voip

NSInternalInconsistencyException while running VOIP enabled apps on iOS13

蓝咒 提交于 2020-06-27 18:00:32
问题 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'PushKit apps that use VoIP push must link either CallKit or IncomingCallNotifications frameworks.' This error is displayed on xcode 11 Beta that uses iOS 13. No issue on xcode10. PushKit apps that use VoIP push must link either CallKit or IncomingCallNotifications frameworks. #voip 回答1: Embedding CallKit.framework in General Settings of the Project resolves this issue. On iOS 13, Apple now mandates that

NSInternalInconsistencyException while running VOIP enabled apps on iOS13

我是研究僧i 提交于 2020-06-27 18:00:06
问题 *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'PushKit apps that use VoIP push must link either CallKit or IncomingCallNotifications frameworks.' This error is displayed on xcode 11 Beta that uses iOS 13. No issue on xcode10. PushKit apps that use VoIP push must link either CallKit or IncomingCallNotifications frameworks. #voip 回答1: Embedding CallKit.framework in General Settings of the Project resolves this issue. On iOS 13, Apple now mandates that

NAT Traversal - Probability of success using STUN

久未见 提交于 2020-06-25 03:32:13
问题 I am developing a P2P application, and I need to use STUN and/or TURN for NAT traversal. I have looked into the issues that an arise when using STUN only (basically it will not always work because it is UDP based and some firewalls won't like that - the reason is not that interesting as per my question), and I keep seeing recommendations about using STUN and TURN for fallback (the ICE scheme). But everywhere I look I just see people STUN as "unlikely to always work". What I am looking for is

while creating RAW_SOCKET error like Operation not permitted

偶尔善良 提交于 2020-05-15 18:49:05
问题 in my android application i want to create RAW SOCKET but when i try to create it by following code it gives error like Operation not permitted. int sd = socket(AF_INET, SOCK_RAW, IPPROTO_UDP); if(sd < 0) { ortp_warning("socket() error %s",getSocketError()); // If something wrong just exit //exit(-1); } else { ortp_warning("socket() - Using SOCK_RAW socket and UDP protocol is OK.\n"); } how can i solve it.?? 回答1: You must have root privileges to create a raw socket. It is a privileged action;

while creating RAW_SOCKET error like Operation not permitted

╄→尐↘猪︶ㄣ 提交于 2020-05-15 18:49:04
问题 in my android application i want to create RAW SOCKET but when i try to create it by following code it gives error like Operation not permitted. int sd = socket(AF_INET, SOCK_RAW, IPPROTO_UDP); if(sd < 0) { ortp_warning("socket() error %s",getSocketError()); // If something wrong just exit //exit(-1); } else { ortp_warning("socket() - Using SOCK_RAW socket and UDP protocol is OK.\n"); } how can i solve it.?? 回答1: You must have root privileges to create a raw socket. It is a privileged action;

Connection of varispeed with RemoteIO in iOS

邮差的信 提交于 2020-05-14 03:55:06
问题 I am working with audio units to play and change the speed of playback. Since AudioGraph is deprecated. What I have done, I have successfully played Audio coming from UDP via audio-units and made connections like: converterUnit -> varispeed -> outConverterUnit -> RemoteIO (Out) Our format for playing is int16(PCM) , but varispeed requires float datatype, So we are using converters for varispeed . Here is my code: var ioFormat = CAStreamBasicDescription( sampleRate: 48000.0, numChannels: 1,

How to show the incoming call screen when the screen is locked?

耗尽温柔 提交于 2020-05-08 09:20:55
问题 I'm developing my custom calling app, like skype and I need to show "incoming call" screen to user, when I receive fcm message. I use full screen intent notification for this purpose. My code now is like this: val intent = Intent(Intent.ACTION_MAIN, null) val fakeIntent = Intent() intent.flags = Intent.FLAG_ACTIVITY_NO_USER_ACTION or Intent.FLAG_ACTIVITY_NEW_TASK intent.setClass(ctx, IncomingCallActivity::class.java!!) val pendingIntent = PendingIntent.getActivity(ctx, 1, intent, 0) val

Which certificate should be used on app Server for waking iOS app using Pushkit and APNS?

▼魔方 西西 提交于 2020-04-18 05:46:01
问题 I am using Websocket in my iOS app for data transfer. But, since sometimes when the app is suspended in the background, the socket breaks. In that case, I use Voip push to iOS app to wake app up. //called on appDidFinishLaunching //register for voip notifications PKPushRegistry *voipRegistry = [[PKPushRegistry alloc] initWithQueue:dispatch_get_main_queue()]; voipRegistry.desiredPushTypes = [NSSet setWithObject:PKPushTypeVoIP]; voipRegistry.delegate = self; //delegate methods for `PushKit`

Sinch CallBack API : Hangup in ICE event

自闭症网瘾萝莉.ら 提交于 2020-04-16 12:45:05
问题 I had place call between two Android devices which is running successfully. Now I want to implement Callback Rest API because of some server side decision before place call. As given in this image, ICE event fire and developer backend respond SVAML response. Now I want to simply Hangup Call , for this I had done following code : [System.Web.Http.HttpPost] public SvamletModel MakeCall(CallbackEventModel model) { var sinch = SinchFactory.CreateCallbackResponseFactory(Locale.EnUs); var reader =

reason: 'Killing app because it never posted an incoming call to the system after receiving a PushKit VoIP push callback.'

故事扮演 提交于 2020-04-16 10:06:05
问题 I'm looking for solutions but I has find nothing yet. My app receives only VoIP pushes and after iOS 13 I'm not able to receive push when the app is in background mode anymore. I looked other questions but I was not able to solve my problem with solutions proposed. There's someone who can help me? On iOS 13.0 and later, incoming Voice over IP calls must be reported when they are received and before the didReceiceIncomingPush() method finishes execution, using the CallKit framework, or the