wiki:SRTP

Version 1 (modified by bennylp, 16 years ago) (diff)

--

SRTP Support in PJSIP

Support for SRTP was included in PJSIP in version 0.9 (r...).

Requirements

SRTP feature in PJSIP uses libsrtp created by David A. McGrew of Cisco Systems, Inc. Copy of libsrtp is included in PJSIP source tree. There is no other software to download.

libsrtp is distributed under BSD-like license, you must satisfy the license requirements if you incorporate SRTP in your application. Please see PJSIP licensing page for more information about this and other third party libraries used in PJSIP.

Building PJSIP with SRTP Support

Availability

SRTP feature is currently available in:

  • Visual C++ 6 and 2005 (for Windows targets)
  • GNU based build system (for Linux, Mingw, MacOS X, and *nix based platforms)

Support for WinCE/Windows Mobile targets and Symbian will be added very soon.

Building

libsrtp is always built by default, from third_party/build/srtp directory.

Support for SRTP is enabled by default in PJMEDIA and PJSUA-LIB. To disable this feature, declare this in your config_site.h:

#define PJMEDIA_HAS_SRTP  0

Using SRTP Transport

Implementation Note

Changes in Media Transport Interface

pjmedia_transport_srtp Implementation

Using SRTP in PJSUA-LIB

Using SRTP Transport Directly

Attachments (2)

Download all attachments as: .zip