HP-UX Multimedia Streaming Protocols (MSP) Programmer's Guide
char *url
);
You must pass the following arguments to rtsp_set_msg_request_line:
— msg
Pointer to a location containing an RTSP request message.
— method
Enumerated RTSP method type. See Table 2-3 (page 39) for information on
method types.
— url
Pointer to a location containing the NULL URL string.
Upon success, rtsp_set_msg_request_line returns RTSP_SUCCESS; upon
failure, it returns one of the following error values:
— RTSP_EINVAL
◦ The msg argument is NULL.
◦ The url argument is NULL.
◦ The method argument contains an invalid method type.
◦ The location pointed to by the msg argument does not contain a request
message.
— RTSP_ENOMEM
Dynamic memory allocation failure.
• rtsp_get_msg_request_line
You can use rtsp_get_msg_request_line to retrieve the RTSP method and
the URL information from an RTSP message.
The declaration of rtsp_get_msg_request_line is as follows:
#include <rtsp.h>
rtsp_error_t rtsp_get_msg_request_line(
rtsp_msg_t *msg,
char *url,
uint16_t len
);
You must pass the following arguments to rtsp_get_msg_request_line:
42 Using MSP APIs