LinPhone

How to fix black screen when call is answered and loss packs on H264

允我心安 提交于 2019-12-11 11:53:58
问题 I am developing VOIP app using linphone IOS/Android library. Basically I used OpenH264 video codec. When call is answered, both side saw black screen. After long time, both size can see the video each other. When I see the log, there are many packets loss so that First frame can not be decoded. At LinphoneCallStreamsRunning, I called FIR (linphone_call_send_vfu_request) request but not helped. Is there any config for OpenH264 video codec? I want to see the video as soon as accept call. Thank

Force using just OPUS codec in Linphone Android

你说的曾经没有我的故事 提交于 2019-12-11 03:24:11
问题 How can I force to use just Opus Codec in linphone ? Is there a setting in LinphoneManager.java, or somewhere else (like in LinphoneCore) to change codec setting ? I found this code in LinphoneManager.java : enableDisableAudioCodec("speex", 32000, 1, false); enableDisableAudioCodec("speex", 16000, 1, false); enableDisableAudioCodec("speex", 8000, 1, true); enableDisableAudioCodec("iLBC", 8000, 1, false); enableDisableAudioCodec("G722", 8000, 1, false); enableDisableAudioCodec("G729", 8000, 1,

Linphone for iOS

妖精的绣舞 提交于 2019-12-10 17:51:56
问题 I need to build linphone for iOS (and android and windows after that, but that is of later concern). Since no one is able to answer my previous question nor a similar one, can someone at least point me to a good resource on the subject? I feel like I tried everything already, and the project still won't compile (lot's of files missing, include paths are wrong, libraries can't be found etc...). Linphone doesn't have a forum as far as I know, and any threads I find on the internet are

用freeswitch架设局域网内sip电话

こ雲淡風輕ζ 提交于 2019-12-09 20:31:19
FreeSWITCH 是一个电话的软交换解决方案,包括一个软电话和软交换机用以提供语音和聊天的产品驱动。FreeSWITCH 可以用作交换机引擎、PBX、多媒体网关以及多媒体服务器等。 首先保证已经有libjpeg-devel,libtoo,libncurses5,libncurses5-dev git clone git://git.freeswitch.org/freeswitch.git cd freeswitch ./bootstrap.sh 如果要测试IVR的话,需要修改modules.conf,找到mod_flite的行,把它的注释去掉 ./configure make make install 然后需要安装语音文件 sounds-install moh-install (8 kHz) hd-sounds-install hd-moh-install (16 kHz) uhd-sounds-install uhd-moh-install (32 kHz) cd-sounds-install cd-moh-install (48 kHz) 选一个,8 kHz是普通电话的音质,越高越好 make sounds-install moh-install 下载安装完后就算完成了 运行/usr/local/freeswitch/bin/freeswitch开启服务器,要关闭的话

Linphone configuration results in multiple undefined Autotools macros

懵懂的女人 提交于 2019-12-06 05:26:32
I have downloaded the Linphone opensource and build using MINGW. I have followed the steps given by the README.mingw. When I use the command "./autogen.sh", I got the following error. + aclocal -I m4 -I /usr/local/share/aclocal -I /share/aclocal aclocal:m4/po.m4:36: warning: macro `AM_PATH_PROG_WITH_TEST' not found in librar y aclocal:m4/po.m4:61: warning: macro `AM_PATH_PROG_WITH_TEST' not found in librar y aclocal:m4/po.m4:78: warning: macro `AM_PATH_PROG_WITH_TEST' not found in librar y aclocal:m4/gettext.m4:170: warning: macro `AM_ICONV_LINK' not found in library configure.ac:185: warning:

Couldn't find libtoolize, even though I have installed libtool in OSX Yosimite

荒凉一梦 提交于 2019-12-06 05:18:33
问题 I want to use Make install command and I have installed all requirements like yasm, nasm, curl, ant, rsync and the autotools: autoconf, automake, aclocal, pkgconfig, libtool. (Exactly, I want to compile Linphone Android NDK from Here : https://github.com/BelledonneCommunications/linphone-android. I have follow all steps from there) I have try to install libtoolize using this command: brew install libtoolize But terminal always show : Error: No available formula for libtoolize If i try to make

Integrate linphone into iOS

不问归期 提交于 2019-12-06 04:27:20
I am trying to add linphone lib to my existing iOS app, but it fails to build My process: Added all the required frame works in my existing project. Copied all lib from linphone-iphone/liblinphone-sdk/apple-darwin/lib/ to myproject/lib Copied linphone-iphone/Resources to myproject/Resources Then I added LinphoneManager.h & .m with there related files. Then I started build the app, I am getting file not found #include "ortp/ortp.h" in Linphonecore (but file is available). What I understand from the error is, I need to modify the build setting to search the file. I have done that but I still get

Android SIP application using Linphone

血红的双手。 提交于 2019-12-05 05:22:08
I am working on SIP application and using Linphone Library i have a little confusion while setting up the library to run the project. Step 1: Firstly I Downloaded NDK on my Mac with the new Android SDK pkg. Then gaved the PATH of my NDK folder in ADT -> Preferences -> Android -> NDK Step 2: Then i installed Autotools using this link (Only Followed Commands written under point: 2.3 How do I install the Autotools (as user)?) ndk_build Step 3: After that i downloaded linphone-android using Terminal using - git clone git://git.linphone.org/linphone-android.git --recursive Now i want to follow

Linphone compiling problems on osx

◇◆丶佛笑我妖孽 提交于 2019-12-04 21:04:59
I'm trying to compile linphone on mountain lion. I have downloaded the sources and followed all the instructions in the README.macos file. The first time, when I got to '$ port install ige-mac-integration' an error occurred. It said gtk2 had to be installed with x11, however, the instructions said to install it with quartz and no_x11. I tried installing gtk2 again, this time with x11, but when I get to the compiling process it tells me quartz is needed. I can't install both, because the gtk2 installation will complain about it, and it seems I need both to complete the entire process of

Android音频开发(1):基础知识

♀尐吖头ヾ 提交于 2019-12-04 10:43:20
Android音频开发(1):基础知识 导读 人的说话频率基本上为300Hz~3400Hz,但是人耳朵听觉频率基本上为20Hz~20000Hz。 > 对于人类的语音信号而言,实际处理一般经过以下步骤: > > 人嘴说话——>声电转换——>抽样(模数转换)——>量化(将数字信号用适当的数值表示)——>编码(数据压缩)——> > > 传输(网络或者其他方式) > > ——> 解码(数据还原)——>反抽样(数模转换)——>电声转换——>人耳听声。 抽样率 > 实际中,人发出的声音信号为模拟信号,想要在实际中处理必须为数字信号,即采用抽样、量化、编码的处理方案。 > > 处理的第一步为抽样,即模数转换。 > > 简单地说就是通过波形采样的方法记录1秒钟长度的声音,需要多少个数据。 > > 根据奈魁斯特(NYQUIST)采样定理,用两倍于一个正弦波的频繁率进行采样就能完全真实地还原该波形。 > > 所以,对于声音信号而言,要想对离散信号进行还原,必须将抽样频率定为40KHz以上。实际中,一般定为44.1KHz。 > > 44.1KHz采样率的声音就是要花费44000个数据来描述1秒钟的声音波形。 > > 原则上采样率越高,声音的质量越好,采样频率一般共分为22.05KHz、44.1KHz、48KHz三个等级。 > > 22.05 KHz只能达到FM广播的声音品质,44