No description
Find a file
2017-12-04 14:06:39 +01:00
.tx
build Cleanup CMakeLists.txt. 2017-07-21 17:52:45 +02:00
cmake fix crash in soci in Android and iOS 2017-10-27 15:52:52 +02:00
console Migration of Sal and SalOp into C++ classes 2017-09-29 17:19:52 +02:00
coreapi Use c-wrapper for the Core object. 2017-12-04 13:56:32 +01:00
daemon fix cast && better char* management 2017-09-28 14:31:52 +02:00
include Added linphone_address_remove_param method 2017-12-04 10:07:44 +01:00
java Adding and implementing find_contacts_by_char 2017-10-19 14:11:37 +02:00
m4
scripts
share add sip/sip-linphone mimeType 2017-06-07 17:36:36 +02:00
src Adding setLastNotify to remote conference event handler 2017-12-04 14:06:39 +01:00
tester Use c-wrapper for the Core object. 2017-12-04 13:56:32 +01:00
tools Use c-wrapper for the Core object. 2017-12-04 13:56:32 +01:00
wrappers Fixed issue with refs for video surfaces in JNI layer 2017-11-29 15:29:02 +01:00
.clang-format
.cproject
.git-pre-commit
.gitignore Remove coreapi/help/doc path from .gitignore 2017-06-19 11:06:34 +02:00
.project
ABOUT-NLS
AUTHORS
autogen.sh
BUGS
ChangeLog
CMakeLists.txt Add ENABLE_SPHINX_DOC CMake option definition and fix CPP wrapper compilation. 2017-11-16 18:08:50 +01:00
config.h.cmake No longer depend on gettext + remove core callbacks that were deprecated since a very long time. 2017-09-21 18:30:08 +02:00
config.rpath
configure.ac Fix make distcheck 2017-06-28 11:13:23 +02:00
COPYING
linphone.iss.in
linphone.spec.in Remove lp-gen-wrapper from the RPM spec file 2017-04-07 09:08:36 +02:00
Makefile.am
NEWS update version in CmakeLists.txt 2017-07-21 09:36:30 +02:00
README.arm
README.M68k.txt
README.macos.md
README.md No longer depend on gettext + remove core callbacks that were deprecated since a very long time. 2017-09-21 18:30:08 +02:00
README.mingw
stamp-h.in
TODO

liblinphone

This is liblinphone, a free (GPL) video voip library based on the SIP protocol.

This library is used by Linphone. It's source code is available at linphone-desktop[1].

Building liblinphone

Required dependencies

  • BcToolbox[2]: portability layer
  • BelleSIP[3]: SIP stack
  • Mediastreamer2[4]: multimedia engine
  • Belcard[5]: VCard support
  • libxml2
  • zlib
  • libsqlite3: user data storage (disablable)
  • gettext and libintl: internationalization support (disablable)

Opitonal dependencies

  • Bzrtp[6]: zrtp stack used for Linphone Instant Messaging Encryption

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_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_LIME=YES : disable Linphone Instant Messaging Encryption

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.

Rpm packaging liblinphone can be generated with cmake3 using the following command: mkdir WORK cd WORK cmake3 ../ make package_source rpmbuild -ta --clean --rmsource --rmspec liblinphone--.tar.gz

Notes for developers

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

  • 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.

  • 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.