voip

How are the CXStartCallAction isVideo property, and native video button used in CallKit?

寵の児 提交于 2019-11-30 20:19:52
问题 I'm trying to figure out what happens when the user taps the video button in the native iOS call screen. I've gone through a few tutorials and looked at the code and it doesn't appear to be a delegate method or anything. CXStartCallAction has a property: var isVideo: Bool , but I cannot seem to figure out how it is used. I've noticed that (in the Speakerbox example project) it changes the display from "Speakerbox Video" to "Speakerbox Audio", but I'm assuming it has other uses. The bigger

Android SIP SSL

好久不见. 提交于 2019-11-30 19:42:26
I'm using the SIP stack in Android 2.3.4 and everything is working nicely. However, I need the system to use SSL, and have created the following code: SipProfile.Builder builder = new SipProfile.Builder("user","domain"); builder.setPassword("password"); builder.setOutboundProxy("sip:IPADDRESS:5061;transport=tls"); builder.setProtocol("TCP"); builder.setAutoRegistration(true); me = builder.build(); Intent i = new Intent(); i.setAction(Constants.INCOMING_CALL_INTENT); PendingIntent pi = PendingIntent.getBroadcast(this, 0, i, Intent.FILL_IN_DATA); manager.open(me, pi, registrationListener);

VoIP基本原理

不羁岁月 提交于 2019-11-30 19:29:19
VoIP基本原理 VoIP是通过Internet等互联网络传递语音信息的,主要包括终端设备、网关、网守和网络管理等部分。网关负责提供IP网络和传统的 PSTN 接口。 VoIP的基本原理:通过语音压缩算法对语音数据进行压缩编码处理,然后将语音数据按照 TCP/IP 标准打包,经过 IP 网络把数据包发送到接收端,之后将语音数据包串起来,经过解码解压之后,恢复成原来的语音信号,从而达到利用互联网传送语音的目的。与之相似的有公共交换电话网络(Public Swithched Telephone Network, PSTN ):这是一种日常生活中经常使用的电话网。由于PSTN是一种电路交换的方式,所以一条通路自建立直至释放,其全部带宽仅能被通路两端的设备使用,因此带宽利用率极低。 VoIP的核心与关键设备是IP网关。网关具有路由管理功能,它把各地区电话区号映射为相应的地区网关IP地址。这些信息存放在一个数据库中,数据接续处理软件将完成呼叫处理、数字语音打包、路由管理等功能。在用户拨打长途电话时,网关根据电话区号数据库资料,确定相应网关的IP地址,并将此IP地址加入IP数据包中,同时选择最佳路由以减少传输时延,IP数据包经Internet到达目的地的网关,在一些Internet尚未延伸到或暂时未设立网关的地区,可设置路由,由最近的网关经过长途电话网转接,实现通信业务。

Using Android's build-in acoustic echo cancellation

£可爱£侵袭症+ 提交于 2019-11-30 13:59:31
Does anyone know how to use Android device's built-in acoustic echo cancellation? It is located somewhere in silicon and is used for GSM/CDMA speakerphone calls. We'd really like to tap into it for a VoIP application instead of rolling our own. Ben I was finally able to get echo cancellation to work on my Arm5 (WM8650) processor (Android 2.2). Below are the steps I took. I wrapped Speex with JNI and called echo processing routines before sending PCM frames to encoder. No echo was canceled no matter what Speex settings I tried. Because Speex is very sensitive to delay between playback and echo

Speex echo cancellation configuration

做~自己de王妃 提交于 2019-11-30 13:31:25
问题 I am making an Android-to-Android VoIP (loudspeaker) app using its AudioRecord and AudioTrack class, along with Speex via NDK to do echo cancellation. I was able to successfully pass into and retrieve data from Speex's speex_echo_cancellation() function, but the echo remains. Here is the relevant android thread code that is recording/sending and receiving/playing audio: //constructor public MyThread(DatagramSocket socket, int frameSize, int filterLength){ this.socket = socket; nativeMethod

Voip Pushkit notification will not re-launch the app if it was force-quitted and device was rebooted

狂风中的少年 提交于 2019-11-30 12:18:51
问题 I cannot get voip pushkit notifications to re-launch the app if the user has force-quitted the app (by swiping it up in the multi-tasking interface) AND if the device was rebooted. However, I can get the voip pushkit notifications to work in the following scenarios: The app was force-quitted then the pushkit notification arrives. The app will be relaunched immediately. Standard push notifications are not capable of waking the app in such scenario. The app was in the background / suspended and

How to build a softphone (using SIP protocol) using C#

夙愿已清 提交于 2019-11-30 11:09:31
问题 I have this challenge to build an sip softphone using c# or .net technologies. Please guide me the technology, requirements and specifications that is needed to build such. Possible requirements: Supported codecs: G.722.1, G.723.1, G.726, G.728, G.711, G.729, G.723.1, iLBC,: G.711 (A and m-law),G.729A/B/D/E, AMR, GSM 6.10/EFR, iLBC, Speex Voice: Real time Quality Monitoring (MOS) 3 independent phone lines Auto-Answer/Do Not Disturb Call Forwarding Full Duplex Audio Recording compress the

Make voice and video call through internet with our application? [closed]

给你一囗甜甜゛ 提交于 2019-11-30 10:48:49
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I want to develop voice and video call through our application users in android like Wechat Application. How can i doing this? I have searched in Google but i didn't get any exact reference or samples. Can anyone explain and give some sample source and references for doing this

Show some UI from background in audio player or VOIP app on iOS

Deadly 提交于 2019-11-30 09:25:24
问题 I know that audio players and Voip apps can run in background on iOS. Is there a way to show UI from background (except LocalNotifications)? I mean full screen UI. A method which uses private API or other tricks are acceptable. The application will be signed with enterprise certificate and won't be deployed/reviewed by AppStore. A method which works only on jailbroken iOS device isn't acceptable. 回答1: Check out this document and search for "Implementing Long-Running Background Tasks"

Even with “voip” present in “UIBackgroundModes” in “plist”, iOS App does not auto start after device reboot in iOS10

强颜欢笑 提交于 2019-11-30 09:24:09
I need my VoIP App to auto start after rebooting the device. Apple docs clearly mention that :- (=========EDIT: This is from official Apple docs please have a look at this before commenting or answering that the App cannot be launched without user interaction or silent push notification. Also have a look at Github project below, people have verified this behaviour) Values for the UIBackgroundModes array Value : voip Description : The app provides Voice-over-IP services. Apps with this key are automatically launched after system boot so that the app can reestablish VoIP services. Apps with this