How can I use APIs to transmit speech data of a voice call in a iOS application? - ios

I would like to transimt speech data of a voice call in a iOS application I'm writing. This is intended for personal use, not the App Store, to accomplish this, I know I have to know iPhone functions about voice interface and I also know the interface functions are not open. How I can get iOS API about voice interface?

Maybe you need pjsip library:
http://www.pjsip.org/

Related

Is it possible to stream voice to directline API from native app on iOS using Swift or Objective-c

I have a bot that leverages all the cool tech that comes with botframework, e.g. LUIS, QnA maker, adaptivecards, etc. The bot works well and I can use WebChat to connect to and ask questions and get responses. However, I now need native iOS (and eventually Android) app that can perform much like webchat does but I do not want to embed webchat in a web control in native app. I plan to have voice always on leveraging something like snowboy or picovoice for hotword to wake app and send commands to bot - users would ask things like "hey bot what is weather in Boston" and get presented with result message or adaptivecard.
Is voice steaming to directline API from Swift on iOS possible (I know most things are possible so any pointers would be greatly appreciated)? Or am I approaching from wrong angle and perhaps there is better/easier way to achieve my goal?

Vidyo.io Integration in Swift4

I'm new in IOS. I'm working on a Video Call project in swift. i'm using vidyo.io SDK for video Call and message chat. But I have some questions
If my app is in kill state or my phone is locked. how can I receive call Notification.
Some SDK's have VoIP support for Call notification in locked State. vidyo.io have support for VoIP? If yes how can I implement.
vidyo.io Documentation have some methods for use camera, microphone, Customize UI etc can we implement all these methods in swift?
if any one have good tutorials or helping materials please share.
You can find a Vidyo.io sample app built with Swift here: https://github.com/Vidyo/customview-swift-ios
Vidyo.io is a CPaaS focused on video chat. You can use the service for voice only, but you probably have better options if that is what you want to achieve.

Socket.io vs xmpp for a mobile chat app

I have to build a realtime chat app in iOS, which can later also have voice and video calling. I want to use a scalable and light weight solution integrated with the backend, making sure that the solution also supports calling in the future.
I'm not too sure if socket.io supports voice and video calls; Should I use that or xmpp? Or any other similar solution?
As it was written above socket.io is a chat server implementation using Websockets, while XMPP is a protocol.
I'd recommend using an XMPP chat server in this case.
For audio/video calls implementation you will need to implement signaling via XMPP to establish connection between the devices before the call.
Also for audio/video chat implementation you will need STUN/TURN/ICE server and you will need to add client-side implementation for passing media streams from peer-to-peer if you choose WebRTC peer-to-peer option.
There is an easier way as well. You can use a ready XMPP based server and SDK to build your app. For example, ConnectyCube provides such service.
They have a ready backend and SDKs you can use for building chat and audio/video chat apps. Also they already have a TURN server, so you do not need to worry about this part too.

Video(with Audio) chat for iOS

I"m trying to build an app for iOS which includes video(with audio/voice) and text chat. The chat will be one-on-one chat. One source for video is surely coming from desktop/laptop camera(or IP Camera). How can this be achieved for iOS devices? Any open source/ free library as solution available will be welcomed.
You can try these
1) http://quickblox.com/developers/IOS
2) https://layer.com/
3) http://www.pubnub.com/
ooVoo provides free sdk for video chat implementations its very easy to use. But for free sdk it will have ooVoo logo at the bottom of the screen. For more information go to this link: https://developer.oovoo.com/
If you want to implement your own video chat application. You can use xmpp, this link has a good example for xmpp implementation on iOS :https://github.com/robbiehanson/XMPPFramework [it doesn't have video chat implementation you have to modify it].
Or you can write your own custom socket program. In which you will be able to send and receive UDP packet which will contain the video data.

IOS voice call rejection

Is it possible in ios to reject voice calls programatically and send a text message automatically.If yes then which api's to use.
It is not possible, you as a 3rd party developer cannot play with core functionalities of the device.

Resources