JRTPLIB is an object-oriented RTP library written in C++. It was first developed for my thesis at the School for Knowledge Technology (or 'School voor Kennistechnologie' in Dutch), a cooperation between the Hasselt University and the Maastricht University.
The latest version of the library is 3.9.1 (November 2011). You can take a look at the ChangeLog.
The 3.x.x series is a complete rewrite of the library and is meant to be compliant with RFC 3550. Also, the library now provides many useful components which can be helpful in building all sorts of RTP-capable applications. This version was developed at the Expertise Centre for Digital Media (EDM), a research centre of the Hasselt University.
The older 2.x series is also still available. Note that this version is not compliant with RFC 3550!
The library offers support for the Real-time Transport Protocol (RTP), defined in RFC 3550. It makes it very easy to send and receive RTP packets and the RTCP (RTP Control Protocol) functions are handled entirely internally. For more detailed information you should take a look at the documentation included in the package.
Currently, the library is known to work on the following platforms:
- MS-Windows (both Win32 and WinCE)
The library will probably work on other unix-like environments too.
What's the price?
The library is totally FREE!
Several package formats are available:
- jrtplib-3.9.1.tar.bz2 (117,735 bytes)
- jrtplib-3.9.1.tar.gz (178,174 bytes)
- jrtplib-3.9.1.zip (294,031 bytes)
A daily SVN snapshot of the library can be found here. This is work in progress, so don't be surprised if something doesn't work.
The library uses the JThread library to automatically poll for incoming data in the background, so you may want to install it too. Of course, if you'd rather not have it installed, the library will also work without JThread (but you'll have to poll for incoming data yourself). Note that this version requires at least JThread 1.3.0
The following examples are included in the library package:
Copyright & disclaimer
The following copyright notice and disclaimer applies to the library.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
So basically, you can use the library in any way you like, as long as you leave the copyright and disclaimer in the sources.
Projects using JRTPLIB
Since I'm always curious about where my work is being used, you're welcome to add a description of the project in which you're using JRTPLIB.
If you have any questions, remarks, suggestions or you would simply like to tell me what you are using the library for (I'm always interested), you can send me an email at this address:
There is also a mailing list for the library. To subscribe to the list, just send an e-mail to
firstname.lastname@example.org and you'll receive further instructions.