RTP (real-time transport protocol) is generally less individual use, it will normally run with other protocols. For example, the RTSP (real-time streaming transport protocol) contains both the RTP,RTCP and RTSP protocols. However, in some systems with very few resources, the independent use of RTP is more important. The RTP protocol is generally not very complex, but if each sign bit needs the user to manually parse, then use the RTP protocol is very complicated. Jrtplib is a C + + library that encapsulates the interfaces required for RTP operations to make the RTP protocol easier to operate.
Compared with live555, the Jrtplib library is very small and suitable for embedded devices with small system resources. You need to understand the RTP and RTCP protocols before you learn jrtplib. As for their specific definition of the agreement, there are a lot of information on the Internet, you can also see the agreement document, my previous blog has reproduced some of the more good RTP and RTCP protocol introduced. In practical applications, we may not be peer-to-peer transmission, or multicast or broadcast data, so it involves the use of multicast and broadcast network.
specific use of RTP and RTCP
Write your own RTP server--using RTP protocol to transmit TS stream
Implement RTP real-time packaging to send H.264 video files under Linux
RTP RTCP client receives media data in RTSP
Multicast and broadcast in Linux network programming
Linux Network programming: Multicast (multicast) programming
Linux Network programming: Broadcast programming
specific use examples of Jrtplib
The simplest Jrtplib transceiver data instance
Linux calls Jrtplib implementation unicast, multicast, broadcast
Linux uses Jrtplib to send and receive H.264 video files
When testing, you can use VLC or mplayer streaming player to build streaming servers, or you can use them to receive streaming media such as RTP,RTSP.