HP-UX Multimedia Streaming Protocols (MSP) Programmer's Guide
A The librtsp Summary
This appendix presents a summary of the Real Time Streaming Protocol (RTSP) library
that the Multimedia Streaming Protocol (MSP) Software Developer’s Kit (SDK) includes.
The appendix contains the following sections:
• “The librtsp APIs” (page 107)
• “The librtsp Data Structures” (page 110)
• “The librtsp Enumerated Values” (page 111)
The librtsp APIs
Table A-1 lists and describes the librtsp APIs that the RTSP library provides.
Table A-1 The librtsp APIs
DescriptionAPI
Connection
Creates a new rtsp_conn_t structure
and opens a transport connection to the
peer.
rtsp_open
Creates a new rtsp_conn_t structure
using an existing transport connection.
rtsp_create_conn
Sets connection options in the
rtsp_conn_t structure.
rtsp_set_conn_opt
Gets connection options from the
rtsp_conn_t structure.
rtsp_get_conn_opt
Closes an RTSP connection.
rtsp_close
Session
Initializes the members of
rtsp_session_t structure.
rtsp_init_session
Frees the memory allocated for the
rtsp_session_t structure members.
rtsp_free_session_flds
Frees the memory allocated for the
rtsp_session_t structure and its
members.
rtsp_free_session
Message Creation/Destroy
Creates a new rtsp_msg_t structure
and sets the RTSP method and URL
information.
rtsp_init_request_msg
The librtsp APIs 107