No description
Find a file
2017-04-20 14:40:23 +02:00
.tx
build
cmake
console
coreapi Fix definition of video preview. 2017-04-20 14:40:23 +02:00
daemon LinphoneCallStats is now a belle_sip_object. BREAKS BINARY COMPATIBILITY 2017-04-19 16:17:51 +02:00
gtk LinphoneCallStats is now a belle_sip_object. BREAKS BINARY COMPATIBILITY 2017-04-19 16:17:51 +02:00
include Added getter/setter for LinphoneVideoActivationPolicy object 2017-04-20 11:38:37 +02:00
intl
java Add new xml file loading for dynamic conf 2017-04-18 17:39:20 +02:00
m4
pixmaps
po
scripts
share
tester fix zrtp bug 2017-04-19 16:55:31 +02:00
tools Store the declared values of enumerations in the abstract API 2017-04-13 12:12:03 +02:00
wrappers/cpp Add new LinphoneVideoDefinition object and deprecate API functions handling MSVideoSize structures. 2017-04-18 17:37:35 +02:00
.clang-format
.cproject
.git-pre-commit
.gitignore
.project
ABOUT-NLS
AUTHORS
autogen.sh
BUGS
ChangeLog
CMakeLists.txt LinphoneCallStats is now a belle_sip_object. BREAKS BINARY COMPATIBILITY 2017-04-19 16:17:51 +02:00
config.h.cmake
config.rpath
configure.ac LinphoneCallStats is now a belle_sip_object. BREAKS BINARY COMPATIBILITY 2017-04-19 16:17:51 +02:00
COPYING
gen-gtkfilelist.sh
gtk+-2.16.2.filelist
gtk+-2.16.6.filelist
gtk+-2.18.5.filelist
gtk+-2.22.1.filelist
gtk+-2.24.8.filelist
linphone-deps.filelist
linphone.iss.in
linphone.spec.in
Makefile.am
NEWS
README.arm
README.M68k.txt
README.macos.md
README.md
README.mingw
stamp-h.in
TODO

Linphone

This is Linphone, a free (GPL) video softphone based on the SIP protocol.

WARNING: Unless you exactly know what you are doing, you should take at look at linphone-desktop[1].

Building Linphone

Required dependencies

  • BcToolbox[2]: portability layer
  • BelleSIP[3]: SIP stack
  • Mediastreamer2[4]: multimedia engine
  • libxml2
  • zlib
  • libsqlite3: user data storage (disablable)
  • libnotify: system notification (GNU/Linux only;disablable)
  • libgtk2: graphical interface (disablable)
  • gettext and libintl: internationalization support (disablable)

Opitonal dependencies

  • Belcard[5]: VCard support
  • gtkmacintegration: integration with MacOSX menu

Build instructions

cmake . -DCMAKE_INSTALL_PREFIX=<prefix> -DCMAKE_PREFIX_PATH=<search_prefixes>

make
make install

Supported build opitons

  • CMAKE_INSTALL_PREFIX=<string> : install prefix
  • CMAKE_PREFIX_PATH=<string> : column-separated list of prefixes where to search for dependencies
  • ENABLE_SHARED=NO : do not build the shared library
  • ENABLE_STATIC=NO : do not build the static library
  • ENABLE_STRICT=NO : build without strict compilation flags (-Wall -Werror)
  • ENABLE_DOC=NO : do not generate the reference documentation of liblinphone
  • ENABLE_GTK_UI=NO : do not build the GTK user interface
  • ENABLE_UNIT_TESTS=NO : do not build testing binaries
  • ENABLE_VCARD=NO : disable VCard support
  • ENABLE_SQLITE_STORAGE=NO : disable SQlite user data storage (message, history, contacts list)
  • ENABLE_TOOLS=NO : do not build tool binaries
  • ENABLE_NLS=NO : disable internationalization
  • ENABLE_ASSISTANT=NO : disable account creation wizard

Note for packagers

Our CMake scripts may automatically add some paths into research paths of generated binaries. To ensure that the installed binaries are striped of any rpath, use -DCMAKE_SKIP_INSTALL_RPATH=ON while you invoke cmake.

Notes for developers

Here is a short description of the content of the source tree.

  • oRTP/ is a poweful implementation of the RTP protocol. See the oRTP/README for more details. It is used by mediastreamer2 to send and receive streams to the network.

  • mediastreamer2/ is one of the important part of linphone. It is a framework for audio and video processing. It contains several objects for grabing audio and video and outputing it (through rtp, to file). It contains also codec objects to compress audio and video streams. The mediastream.h files contain routines to easyly setup audio streams.

  • coreapi/ is the central point of linphone, which handles relationship between sip signalisation and media streaming. It contains an easy to use api to create a sip phone.

  • gtk/ is the directory that contains the gui frontend of linphone. It uses all libraries descibed above.

  • console/

    • linphonec.c is the main file for the console version of linphone.
    • sipomatic.c / sipomatic.h contains the code for sipomatic, the test program that auto-answer to linphone calls.
    • shell.c (program name: linphonecsh) is a small utilities to send interactive commands to a running linphonec daemon.
  • share/ contains translation, documentation, rings and hello sound files.