pjsip Features and Datasheet
Feature list from the pjsip documentation. Each item links to its guide or standard.
Supported Platforms
List of supported operating systems and link to the relevant guide.
- Mac OS X (Intel and M1)
- Windows (32 and 64bit)
- Linux/uClinux
- Smartphones:
- Community supported:
- MinGW-w64
- Embox RTOS
- OpenBSD
- FreeBSD
- Solaris
- RTEMS
SIP Capabilities
List of supported SIP features and link to the relevant PJSIP documentation and/or the standard document.
Base specs
- Core methods: RFC 3261: INVITE, CANCEL, BYE, REGISTER, OPTIONS, INFO
- Digest authentication (RFC 2617)
- Encoding and parsing of Bearer authentication (OAuth 2.0) (RFC 8898)
Transports
- UDP, TCP, TLS (server or mutual)
- DNS SRV resolution (RFC 3263)
- IPv6
- QoS (DSCP, WMM)
Routing/NAT
- rport (RFC 3581)
- Service-Route header (RFC 3608)
- SIP outbound for TCP/TLS (RFC 5626)
- Path header (with SIP outbound) (RFC 3327)
- ICE option tag (RFC 5768)
- Trickle ICE on SIP: (RFC 8840)
Call
- Offer/answer (RFC 3264)
- hold, unhold
- redirection
- transfer/REFER (attended and unattended):
- sipfrag support (RFC 3420)
- norefersub (RFC 4488)
- UPDATE (RFC 3311)
- 100rel/PRACK (RFC 3262)
- tel: URI (RFC 3966)
- Session Timers (RFC 4028)
- Reason header (RFC 3326, partially supported)
- P-Header (RFC 3325, partially supported)
SDP
- RFC 2327 (obsoleted by RFC 4566)
- RTCP attribute (RFC 3605)
- IPv6 support (RFC 3266)
- SDP media ID (RFC 5888)
- SDP for ICE (RFC 8839)
Presence and IM
- Event framework (SUBSCRIBE, NOTIFY) (RFC 3265)
- Event publication (PUBLISH) (RFC 3903)
- MESSAGE (RFC 3428)
- typing indication (RFC 3994)
- pidf+xml (RFC 3856, RFC 3863)
- xpidf+xml
- RPID (subset) (RFC 4480)
Other extensions
- INFO (RFC 2976)
- AKA, AKA-v2 authentication (RFC 3310, RFC 4169)
- ICE option tag (RFC 5768)
- Message summary/message waiting indication (MWI, RFC 3842)
- Multipart (RFC 2046, RFC 5621)
Compliance, best current practices
- Issues with Non-INVITE transaction (RFC 4320)
- Issues with INVITE transaction (RFC 4321)
- Multiple dialog usages (RFC 5057)
- SIP torture messages (RFC 4475, tested when applicable)
- SIP torture for IPv6 (RFC 5118)
- Message Body Handling (RFC 5621. Partial compliance: multipart is supported, but Content-Disposition header is not handled)
- The use of SIPS (RFC 5630. Partial compliance: SIPS is supported, but still make use of transport=tls parameter)
NAT Traversal
- ICE and Trickle ICE:
- RFC 5245
- host, srflx, and relayed candidates
- aggressive and regular nomination
- ICE option tag (RFC 5768)
- IPv4, IPv6, NAT64 support
- Trickle ICE, with support for the following standards:
- TURN:
- uPnP
- Universal Plug and Play support for SIP UDP and media UDP transports
- STUN:
- NAT type detection:
- legacy RFC 3489
- Other:
Security Features
TLS/SSL
- See Using SSL/TLS with PJSIP specific guide.
SIP Security
Security related features in PJSIP, among other things:
- SIPS
- TLS transport
- Various authentication: digest, AKA, AKA-v2, OAuth 2.0
See SIP Capabilities for details.
Media Security
- See SRTP — Secure RTP (SDES and DTLS-SRTP) specific guide.
Media/Audio Features
Core
PJMEDIA was designed to be applicable in broad range of systems, from desktop to mobile, embedded, and maybe even DSP. These are the core considerations for such design:
- any clockrates
- N-channels support
- zero thread capable
Audio Features
Some audio processing algorithms implemented in PJMEDIA.
- Acoustic Echo Cancellation
- Adaptive Delay Buffer
- Adaptive Jitter Buffer
- Adaptive Silence Detection
- Circular Buffer
- Codec Framework
- Conference Bridge
- Format converter
- Mono/Stereo/Multichannel Converter
- Packet Lost Concealment (PLC)
- Resampling Algorithm
- Tone/DTMF Generator
- WAV file playback, playlist, and recorder
- Waveform Similarity Based Overlap-Add (WSOLA)
- WebRTC AEC3 support
Transports
Media transport is responsible for packing/unpacking media frames to/from the network, as well as getting involved in negotiation of suitable transport in SDP. Media transports can also be chained in a pipeline (for example, SRTP+ICE).
- Media Transport API
- SRTP - Secure RTP (SDES and DTLS)
- ICE - Interactive Connectivity Establishment
- UDP
- Loopback
- Sample Transport Adapter
Media transports implemented by community:
SDP
- SDP Parsing and Data Structure
- SDP Negotiation State Machine (Offer/Answer Model) (RFC 3264)
- SDP SSRC attribute (RFC 5576)
- RTP and RTCP multiplexing (RFC 5761)
RTP and RTCP
- RTP Session and Encapsulation (RFC 3350)
- RTCP Session and Encapsulation (RFC 3350)
- RTP and RTCP multiplexing (RFC 5761)
- RTCP Feedback mechanism
- RTCP XR (RFC 3611)
- SSRC synchronization via SDP (RFC 5576)
- RTCP CNAME guideline (RFC 7022)
Supported Codecs
Audio Codecs
- Android AMR-NB/WB (native)
- BCG729 (a G.729 compliant codec)
- G.711
- G.722
- G.722.1/C
- GSM FR
- ILBC
- Intel IPP codecs (G.722.1, G.723.1, G.726, G.728, G.729, AMR, and AMR-WB)
- Linear/PCM 8/16bit mono/stereo
- Lyra (experimental)
- OpenCore AMR codecs integration
- Opus
- Passthrough codecs
- SILK
- Speex
Video Codecs
- Android H.264, VP8, VP9 (native)
- FFMPEG codecs (H.261, H.263, H.263P (H263-1998), H.264, MJPEG, VP8, VP9)
- OpenH264
- native H.264 for Mac and iOS
- VP8 and VP9 (libvpx)
Video Features
PJMEDIA supports end-to-end video communication as well as video conferencing in client.
Some of the features of the video subsystem:
- Video Conference
- AVI streaming
- Sending/receiving missing video keyframe indication
- Video source duplicator
Video is available on the following platforms:
The following video codecs are available:
- Android H.264, VP8, VP9 (native)
- FFMPEG codecs (H.261, H.263, H.263P (H263-1998), H.264, MJPEG, VP8, VP9)
- OpenH264
- native H.264 for Mac and iOS
- VP8 and VP9 (libvpx)
Supported capture devices:
- Android Camera2
- AVI virtual device
- AVFoundation (Mac and iOS) and UIView (iOS)
- Colorbar
- DirectShow (Windows)
- FFMPEG
- Video4Linux
Supported renderer devices:
Supported Audio Devices
PJMEDIA-Audiodev supports the following platforms/devices:
- ALSA
- Android JNI
- Android Oboe
- bdIMAD by BdSound
- CoreAudio (Mac OS X and iPhone)
- PortAudio
- WMME (Windows)
- WASAPI (Windows Audio Session API)
Supported Video Devices
Supported capture devices:
- Android Camera2
- AVI virtual device
- AVFoundation (Mac and iOS) and UIView (iOS)
- Colorbar
- DirectShow (Windows)
- FFMPEG
- Video4Linux
Supported renderer devices:
