HP-UX Multimedia Streaming Protocols (MSP) Programmer's Guide
— RTP-info header
The rtsp_rtpinfo_t data structure stores information about the RTP-info
header. The RTSP header file, <rtsp.h>, contains the definition of this data
structure.
The following lists the RTP-info header APIs:
◦ rtsp_init_rtpinfo
◦ rtsp_alloc_rtpinfo
◦ rtsp_free_rtpinfo
— Transport header
The rtsp_xport_spec_t data structure stores information about the transport
header. The RTSP header file, rtsp.h, contains the definitions of this data
structure and the various enumerated values for its members.
The following lists the transport header xport_spec APIs:
◦ rtsp_init_rtpinfo
◦ rtsp_alloc_rtpinfo
◦ rtsp_free_rtpinfo
• URL
The RTSP URL data structure, rtsp_url_t, stores information about the RTSP
URL, such as the protocol being used, host, port, and absolute path.
It includes the API, rtsp_parse_url,that parses the RTSP URL specified as a
string in RFC 2326 format into the rtsp_url_t structure.
• Connection option
You can set or retrieve the connection options and attributes of an RTSP connection,
such as socket identifier and mapped session. Certain options can only be set and
other options can only be retrieved.
The following lists the APIs that set or retrieve connection options:
— rtsp_set_conn_opt
— rtsp_get_conn_opt
RTSP Connection APIs
In order to send or receive messages to or from the peer, the application must first
create an RTSP connection using either the rtsp_open or the rtsp_create_conn
API. The RTSP connection data structure, rtsp_conn_t, identifies the transport
connection to the peer and stores information, such as the socket descriptor, transport
protocol being used, and message buffers for the connection. The rtsp.h file does not
contain a complete definition of rtsp_conn_t. Hence, an application can use only
pointers to the rtsp_conn_t structure.
RTSP Library 31