
The build system is known to work on the following hosts: without this you can still enjoy video with pjsua console application.Optional: Qt development SDK for building the video GUI sample.
Linux: Video4Linux2 (v4l2) development library.$ make & make install-lib-static # default install dir is /usr/local configure -enable-static # add options if needed, e.g: optimization, install dir, search path We tested with the latest from git (as of October 2011): # to enable H264, add "-enable-gpl -enable-libx264" # particularly CFLAGS and LDFLAGS for x264 # add other options if needed, e.g: optimization, install dir, search path configure -enable-shared -disable-static -enable-memalign-hack On Mac OS X: You may need to rebuild libbz2 if you have an old libbz2 for older system.
You need newer releases (October 2011 onwards), and it needs libz too. To enable H.264 support in ffmpeg (this is not required if you already have H.264 codec (via OpenH264 or VideoToolbox)): Since #1897 we have added support for ffmpeg 2.8, however note that on applying the ticket, older ffmpeg will no longer be supported. ffmpeg development library, using libx264. For Mac only: VideoToolbox (supported since PJSIP version 2.7).Ddefine this in your config_site.h: #define PJMEDIA_HAS_VID_TOOLBOX_CODEC 1. Alternatively, you can use VideoToolbox (only for Mac) or ffmpeg as explained below. OpenH264 (Recommended): Follow the instructions in ticket #1947. If you are using PJSIP 2.5.5 or newer, libyuv should be built and enabled automatically. libyuv (Recommended) for format conversion and video manipulation. For format conversion and video manipulation, you can use one of the following:. The following components are needed for video: OpenSSL header files/libraries (optional) if TLS support is wanted. To install, use the command: apt-get install libasound2-dev or apt-get install alsa-lib-devel (depending on the distribution). (For Linux): ALSA header files/libraries (optional) if ALSA support is wanted. In addition, the following libraries are optional, but they will be used if they are present: In order to use PJSIP's GNU build system, these typical GNU tools are needed: Requirements Tools and development libraries RTEMS with cross compilation (ARM, powerpc),. FreeBSD and maybe other BSD's (i386, Opteron, etc.),. Linux/uC-Linux (i386, Opteron, Itanium, MIPS, PowerPC, etc.),. The autoconf based GNU build system can be used to build the libraries/applications for the following targets: Next: Using pjsip libraries in your applications. Configuring Debug Version and Other Customizations.
Building Application using PJSIP with GNU Tools. iOS: Apple iPhone, iPad, and iPod Touch.