HP-UX Multimedia Streaming Protocols (MSP) Programmer's Guide

The RTP library initiates RTCP packets and eliminates the need for an application to
initiate the RTCP packet. The library collects and maintains statistics. The library also
handles timers for sending RTCP packets.
You can receive RTP and RTCP packets using rtp_recv and rtcp_recv, respectively.
You can parse the compound RTCP packets by using rtcp_parse_pkt.
You can free the resources for the buffers using the corresponding freeing APIs.
To close an RTP session, use rtp_close.
RTSP Library
The Real-Time Streaming Protocol, or RTSP (RFC 2326), is an application-level protocol
for control over the delivery of data with real-time properties. This protocol controls
multiple data delivery sessions; it also provides a means for choosing delivery channels
and mechanisms, such as UDP, multicast UDP, and TCP, as described in RFC 1889-
RTP.
The RTSP library, librtsp, includes 40 interfaces for creating, sending, and receiving
RTSP messages.
RTSP Data Structures
The RTSP library includes the following data structures:
rtsp_methods
This is an array of pointers to locations that contain the RTSP method strings. You
must index this array using the enumerated RTSP method code.
For example, rtsp_methods [RTSP_DESCRIBE] is a pointer that points to the
location containing the DESCRIBE string.
rtsp_hdrs
This is an array of pointers to locations that contain the RTSP header field strings.
You must index this array using the enumerated RTSP header field code.
For example, rtsp_hdrs [RTSP_CONTENT_LOCATION_HDR] is a pointer that
points to the location containing the CONTENT_LOCATION string.
rtsp_status_code
This is an array of RTSP status code integers. You must index this array using the
enumerated RTSP status code.
For example, rtsp_status _code [RTSP_100] is a pointer that points to the
location containing the 100 string.
rtsp_status_code_str
This is an array of pointers to locations that contain the RTSP status codes as strings.
You must index this array using the RTSP status code.
28 Using MSP APIs