| 1 | = SRTP Support in PJSIP = |
| 2 | |
| 3 | Support for SRTP was included in PJSIP in version 0.9 (r...). |
| 4 | |
| 5 | == Requirements == |
| 6 | |
| 7 | SRTP feature in PJSIP uses [http://sourceforge.net/projects/srtp/ libsrtp] created by David A. !McGrew of Cisco Systems, Inc. Copy of [http://sourceforge.net/projects/srtp/ libsrtp] is included in PJSIP source tree. There is no other software to download. |
| 8 | |
| 9 | [http://sourceforge.net/projects/srtp/ libsrtp] is distributed under BSD-like license, you must satisfy the license requirements if you incorporate SRTP in your application. Please see [http://www.pjsip.org/licensing.htm PJSIP licensing] page for more information about this and other third party libraries used in PJSIP. |
| 10 | |
| 11 | |
| 12 | == Building PJSIP with SRTP Support == |
| 13 | |
| 14 | === Availability === |
| 15 | |
| 16 | SRTP feature is currently available in: |
| 17 | - Visual C++ 6 and 2005 (for Windows targets) |
| 18 | - GNU based build system (for Linux, Mingw, MacOS X, and *nix based platforms) |
| 19 | |
| 20 | Support for WinCE/Windows Mobile targets and Symbian will be added very soon. |
| 21 | |
| 22 | === Building === |
| 23 | |
| 24 | libsrtp is always built by default, from {{{third_party/build/srtp}}} directory. |
| 25 | |
| 26 | Support for SRTP is enabled by default in PJMEDIA and PJSUA-LIB. To '''disable''' this feature, declare this in your {{{config_site.h}}}: |
| 27 | {{{ |
| 28 | #define PJMEDIA_HAS_SRTP 0 |
| 29 | }}} |
| 30 | |
| 31 | == Using SRTP Transport == |
| 32 | |
| 33 | === Implementation Note === |
| 34 | |
| 35 | ==== Changes in Media Transport Interface ==== |
| 36 | |
| 37 | ==== pjmedia_transport_srtp Implementation ==== |
| 38 | |
| 39 | === Using SRTP in PJSUA-LIB === |
| 40 | |
| 41 | === Using SRTP Transport Directly === |