HP-UX Multimedia Streaming Protocols (MSP) Programmer's Guide
struct rtsp_xport_spec *next;
} rtsp_xport_spec_t;
The xport_id structure member points to a location that contains the transport specifier
in the form transport/profile/lower-transport.
The src_addr and dest_addr structure members are pointers to the locations that
contain the source and destination address parameters in the transport specifier.
The channel_start and channel_end structure members contain the range of the
interleaved transport specifier parameter.
The layers and ttl structure members contain the multicast time-to-live and the
multicast layers information.
The port, cport and sport structure members contain the multicast session
RTP/RTCP port pair, unicast RTP/RTCP port pair on client, and unicast RTP/RTCP
port pair on server, respectively. The RTP/RTCP port pair information is stored in the
rtsp_port_range_t structure defined in the rtsp.h file.
The rtp member in rtsp_port_range_t structure contains the RTP port and the
rtcp structure member contains the RTCP port.
The ssrc structure member contains the RTP synchronization source identifier for the
unicast session.
The mode parameter can either be PLAY or RECORD. This information is stored in the
mode structure member, which takes one of the following values:
• RTSP_MODE_PLAY
• RTSP_MODE_RECORD
The append structure member must be set to 1, if the append parameter is specified
in the transport specifier.
The reserved structure member is currently ignored.
The following lists the RTSP transport header APIs:
• rtsp_init_xport_spec
You can use rtsp_init_xport_spec to initialize the structure members of the
rtsp_xport_spec_t structure with the default values.
The declaration of rtsp_init_xport_spec is as follows:
#include <rtsp.h>
void rtsp_init_xport_spec(
rtsp_xport_spec_t *xport_spec
);
You must pass xport_spec, a pointer to the rtsp_xport_spec_t structure, as an
argument to rtsp_init_xport_spec.
The rtsp_init_xport_spec function does not return a value.
58 Using MSP APIs