官方网站

源码下载:

linphone, including:

  • oRTP
  • mediastreamer2
  • liblinphone
  • linphonec
  • linphone (gtk)

git clone git://git.linphone.org/linphone.git --recursive

架构设计概略

Linphone is an open source SIP Phone, available on mobile and desktop environments (iOS, Android, Windows Phone, GNU/Linux, MAC OSX, Windows Desktop, Windows 10) and on web browsers.

Linphone has inside a separation between the user interfaces and the core engine, allowing to create various kinds of user interface on top of the same functionalities.

    • The user interface frontends:

      • Gtk+ interface for windows, mac and GNU/Linux
      • The console interface (linphonec, linphonecsh)
      • The iPhone application built in objective C
      • The Android application running in java
      • The Windows Phone application written in C#
    • Liblinphone, the core engine: this is the library that implements all the functionalities of Linphone.
      Liblinphone
      is a powerful SIP VoIP video SDK that anyone can use to add audio or
      video call capabilities to an application. It provides a high level api
      to initiate, receive, terminate audio & video calls.
    • Liblinphone relies on the following software components:
      • Mediastreamer2, a powerful multimedia SDK to make audio/video streaming and processing.
      • oRTP, a simple RTP library.
      • belle-sip the SIP library.

      Liblinphone and all its dependencies are written in pure C.

ubuntu12.04 x86下编译过程中碰到的问题linphone-3.4.0:


linphonecore.c: In function 'video_config_read':
linphonecore.c::: error: variable 'self_view' set but not used [-Werror=unused-but-set-variable]
linphonecore.c::: error: variable 'display' set but not used [-Werror=unused-but-set-variable]
linphonecore.c::: error: variable 'capture' set but not used [-Werror=unused-but-set-variable]
linphonecore.c: In function 'linphone_core_invite_address_with_params':
linphonecore.c::: error: variable 'err' set but not used [-Werror=unused-but-set-variable] 解决方法:
进入到源码路径下,再次编译即可:
yingc@yingc:~/work/voip/linphone/linphone-3.4.$ sed -i "s/-Werror//g" `find . -type f` 、
CC pulseaudio.lo
CC msv4l.lo
msv4l.c: In function 'v4l_configure':
msv4l.c::: error: 'BASE_VIDIOCPRIVATE' undeclared (first use in this function)
msv4l.c::: note: each undeclared identifier is reported only once for each function it appears in
make[]: *** [msv4l.lo] 错误
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./mediastreamer2/src'
make[]: *** [all] 错误
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./mediastreamer2/src'
make[]: *** [all-recursive] 错误
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./mediastreamer2'
make: *** [all] 错误 解决方法:
修改msv4l.c源码,加入#define BASE_VIDIOCPRIVATE 192定义 、
checking for LIBV4L2... no
No libv4l2 found.
checking for LIBV4L1... no
No libv4l1 found.
configure: error:
Missing libv4l2. It is highly recommended to build with
libv4l2 headers and library. Many camera will won't work or will crash
your application if libv4l2 is not installed.
If you know what you are doing, you can use --disable-libv4l to disable
this check.
解决方法: yingc@yingc:~/work/voip/linphone/linphone-3.4.0$ sudo apt-get install -y libv4l-dev
4、
CC msv4l.lo
msv4l.c::: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[]: *** [msv4l.lo] 错误
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./mediastreamer2/src'
make[]: *** [all] 错误
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./mediastreamer2/src'
make[]: *** [all-recursive] 错误
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./mediastreamer2'
make: *** [all] 错误 解决方法:

修改源码,将linux/videodev.h替换为<libv4l1-videodev.h>、
/home/yingc/work/voip/linphone/linphone-3.4.
make all-recursive
make[]: 正在进入目录 `/home/yingc/work/voip/linphone/linphone-3.4.'
Making all in m4
make[]: 正在进入目录 `/home/yingc/work/voip/linphone/linphone-3.4./m4'
make[]: 没有什么可以做的为 `all'。
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./m4'
Making all in pixmaps
make[]: 正在进入目录 `/home/yingc/work/voip/linphone/linphone-3.4./pixmaps'
make[]: 没有什么可以做的为 `all'。
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./pixmaps'
Making all in po
make[]: 正在进入目录 `/home/yingc/work/voip/linphone/linphone-3.4./po'
make[]: 没有什么可以做的为 `all'。
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./po'
Making all in oRTP
make[]: 正在进入目录 `/home/yingc/work/voip/linphone/linphone-3.4./oRTP'
make[]: *** 没有规则可以创建目标“all”。 停止。
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./oRTP'
make[]: *** [all-recursive] 错误
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4.'
make: *** [all] 错误 解决方法:
下载对应版本的源码包拷贝到该目录即可 、
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./po'
Making install in oRTP
make[]: 正在进入目录 `/home/yingc/work/voip/linphone/linphone-3.4./oRTP'
Making install in src
make[]: 正在进入目录 `/home/yingc/work/voip/linphone/linphone-3.4./oRTP/src'
Making install in .
make[]: 正在进入目录 `/home/yingc/work/voip/linphone/linphone-3.4./oRTP/src'
CC stun.lo
stun.c: In function 'stunSendTest':
stun.c::: error: variable 'discard' set but not used [-Werror=unused-but-set-variable]
stun.c: In function 'stunNatType':
stun.c::: error: variable 'testIchangedAddr' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[]: *** [stun.lo] 错误
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./oRTP/src'
make[]: *** [install-recursive] 错误
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./oRTP/src'
make[]: *** [install-recursive] 错误
make[]:正在离开目录 `/home/yingc/work/voip/linphone/linphone-3.4./oRTP'
make: *** [install-recursive] 错误 1 解决方法:
进入到对应目录,执行命令 :sed -i "s/-Werror//g" `find . -type f`

参考网址:

linux/videodev.h: No such file or directory错误解决方法

Linphone在Linux X86下的编译安装

依赖库相关下载地址:

mediastreamer2

oRtp

aa

linphone的更多相关文章

  1. csipsimple,linphone,webrtc比较

    转自: http://www.lxway.com/566299526.htm 最新要做一个移动端视频通话软件,大致看了下现有的开源软件 一) sipdroid1)架构sip协议栈使用JAVA实现,音频 ...

  2. Linphone iOS客户端编译时打开G729支持

    Assuming you were able to compile the SDK and the linphone XCode project, here is what you need to d ...

  3. IM比较SipDroid/IMSDroid/CSipsimple/Linphone/Webrtc

    一) sipdroid1)架构sip协议栈使用JAVA实现,音频Codec使用skype的silk(Silk编解码是Skype向第三方开发人员和硬件制造商提供免版税认证(RF)的Silk宽带音频编码器 ...

  4. android linphone中opengl显示的实现

    1,java层 在界面中创建GL2JNIView(基类为GLSurfaceView). 创建对象AndroidVideoWindowImpl,将GL2JNIView作为参数传入构造函数.在该对象中监听 ...

  5. freepbx的SIP通话客户端X-lite Yate eyeBeam Linphone

    在上一篇文章安装freepbx后创建sip分机里我们已经创建好了SIP分机,接下来我们使用几大客户端进行登陆.我们接下来会使用到的软件有X-lite,Yate client,eyeBeam, Linp ...

  6. linphone 在am335x的编译过程

    环境变量: export PREFIX=/usr export HOSTTPL=arm-linux-gnueabihf export INSTALLDIR=/home/elinux/linphone/ ...

  7. linphone 调试信息

    root@phyCORE-AM335x:~ linphonec -V -d 6INFO: no logfile, logging to stdoutortp-message-oRTP-0.20.0 i ...

  8. 开源移动端IM比较SipDroid,IMSDroid,CSipsimple,Linphone,webrtc

    最新要做一个移动端视频通话软件,大致看了下现有的开源软件 一) sipdroid1)架构sip协议栈使用JAVA实现,音频Codec使用skype的silk(Silk编解码是Skype向第三方开发人员 ...

  9. webrtc doubango linphone

    1.doubango官网:http://www.doubango.org/ 2.doubango是一个开源的VOIP基础平台, 并能用于嵌入式和桌面系统的开源框架,该框架使用ANSCI-C编写,具有很 ...

随机推荐

  1. Flume 1.5.0简单部署试用

    ================================================================================ 一.Flume简介 ========= ...

  2. Snail—UI学习之得到某组件的方法

    第一种方法:依据传入函数的參数对象的tag属性区分 比方 多个button运行同一个方法,可是不同的方法运行时.里面的逻辑又不一样 那就得加以区分 这时能够用tag来差别 //再新建一个Button ...

  3. 关于tomcat和sessionCookieName和SESSION_PARAMETER_NAME以及disableURLRewriting参数原理和使用

    关于tomcat和sessionCookieName和SESSION_PARAMETER_NAME以及disableURLRewriting参数 关于session和cookie参考: http:// ...

  4. 好汉两个半第一季/全集Two And A Half Men迅雷下载

    第一季 Two and a Half Men Season 1 (2003)看点:Charlie是一个潇洒自由的单身汉,但正面临离婚危机的兄弟Alan带着儿子Jake的突然来访完全打乱了Charlie ...

  5. IOS Devices Version

    游戏项目中有一个专门用于收集IOS崩溃的接口和查询页,运营/测试的同事有时候会通过查询页大概看一下每日崩溃的情况,经常会问iPhone6,1是什么,iPhone7,1又是什么设备?   我从网上仔细搜 ...

  6. MARQUEE 字符滚动条效果

    <MARQUEE scrolldelay =“100” direction=“up " > 滚动文字或图像 </MARQUEE> 说明: – scrolldelay: ...

  7. tcp常见状态

    常见状态 1.建立连接 2.关闭连接

  8. 聊聊jdbc statement的fetchSize

    在使用MySQL的JDBC时,如果查询结果集过大,使用一次查询,可能会出现Java.lang.OutOfMemoryError: Java heap space问题,因为DB服务器端一次将查询到的结果 ...

  9. 如何解决在Windows Server 2008 R2 上安装证书服务重启后出现 CertificationAuthority 91错误事件

    很久都没写什么博客了,前一段时间学习2008 R2时,在自己的电脑上同时安装AD 和证书 往往会出现一个CertificationAuthority错误,如下: 产生问题的主要原因是: 证书服务器与D ...

  10. 菜鸟学步之 爆破AspriseOCR 4.0

    最近写一个小程序要用到OCR控件,在网上查了一下,据说AspriseOCR 4.0效果不错.试用了一下发现的确还行,不过就是要注册,试用版本每次都会弹出讨厌的对话框来.网上看到有一篇“新人报道–处女破 ...