RTP transport functions
[RTP Layer]

Collaboration diagram for RTP transport functions:

Functions

int rtp_transport_set (rtp_session *, int, void *)
int rtp_transport_get (rtp_session *, int, void *, uint32_t)
char * rtp_get_spec (rtp_session *)
sock_type rtp_get_socktype (rtp_session *)
enum deliveries rtp_get_delivery (rtp_session *)
int rtp_get_srcaddrstr (rtp_session *, char *, uint32_t)
nms_addr * rtp_get_srcaddr (rtp_session *)
int rtp_get_dstaddrstr (rtp_session *, char *, uint32_t)
nms_addr * rtp_get_dstaddr (rtp_session *)
int rtp_get_layers (rtp_session *)
enum modes rtp_get_mode (rtp_session *)
int rtp_get_append (rtp_session *)
int rtp_get_ttl (rtp_session *)
int rtp_get_mcsports (rtp_session *, in_port_t[2])
in_port_t rtp_get_mcsrtpport (rtp_session *)
in_port_t rtp_get_mcsrtcpport (rtp_session *)
int rtp_get_srvports (rtp_session *, in_port_t[2])
in_port_t rtp_get_srvrtpport (rtp_session *)
in_port_t rtp_get_srvrtcpport (rtp_session *)
int rtp_get_cliports (rtp_session *, in_port_t[2])
in_port_t rtp_get_clirtpport (rtp_session *)
in_port_t rtp_get_clirtcpport (rtp_session *)
int rtp_get_interleaved (rtp_session *, uint8_t[2])
uint8_t rtp_get_ilvdrtp (rtp_session *)
uint8_t rtp_get_ilvdrtcp (rtp_session *)
int rtp_get_streams (rtp_session *, uint16_t[2])
uint16_t rtp_get_rtpstream (rtp_session *)
uint16_t rtp_get_rtcpstream (rtp_session *)
uint32_t rtp_get_ssrc (rtp_session *)
int rtp_set_delivery (rtp_session *, enum deliveries)
int rtp_set_socktype (rtp_session *, sock_type)
int rtp_set_srcaddrstr (rtp_session *, char *)
int rtp_set_srcaddr (rtp_session *, nms_addr *)
int rtp_set_dstaddrstr (rtp_session *, char *)
int rtp_set_dstaddr (rtp_session *, nms_addr *)
int rtp_set_layers (rtp_session *, int)
int rtp_set_mode (rtp_session *, enum modes)
int rtp_set_append (rtp_session *, int)
int rtp_set_ttl (rtp_session *, int)
int rtp_set_mcsports (rtp_session *, in_port_t[2])
int rtp_set_mcsrtpport (rtp_session *, in_port_t)
int rtp_set_mcsrtcpport (rtp_session *, in_port_t)
int rtp_set_srvports (rtp_session *, in_port_t[2])
int rtp_set_srvrtpport (rtp_session *, in_port_t)
int rtp_set_srvrtcpport (rtp_session *, in_port_t)
int rtp_set_cliports (rtp_session *, in_port_t[2])
int rtp_set_clirtpport (rtp_session *, in_port_t)
int rtp_set_clirtcpport (rtp_session *, in_port_t)
int rtp_set_interleaved (rtp_session *, uint8_t[2])
int rtp_set_ilvdrtp (rtp_session *, uint8_t)
int rtp_set_ilvdrtcp (rtp_session *, uint8_t)
int rtp_set_streams (rtp_session *, uint16_t[2])
int rtp_set_rtpstream (rtp_session *, uint16_t)
int rtp_set_rtcpstream (rtp_session *, uint16_t)
int rtp_set_ssrc (rtp_session *, uint32_t)

Detailed Description

RTP transport setup functions

Function Documentation

char* rtp_get_spec ( rtp_session *   )  [inline]

RTP transport wrapper functions for rtp_transport_get

Definition at line 371 of file rtp_transport.c.

int rtp_set_delivery ( rtp_session *  ,
enum  deliveries 
) [inline]

RTP transport wrapper functions for rtp_transport_set

Definition at line 511 of file rtp_transport.c.

References rtp_transport_set().

Here is the call graph for this function:

int rtp_transport_get ( rtp_session *  rtp_sess,
int  par,
void *  value,
uint32_t  len 
)

Gets the value of an option of the transport for the given RTP session.

Parameters:
rtp_sess The session for which to get the option value of the transport.
par The ID of the option for which to get the value.
value A pointer to the buffer where to save the retrieved value
len The size of the buffer where to save the retrieved value

Definition at line 226 of file rtp_transport.c.

int rtp_transport_set ( rtp_session *  rtp_sess,
int  par,
void *  value 
)

Sets options for the transport of the given RTP session.

Parameters:
rtp_sess The session for which to modify the transport options
par The ID of the option to modify. Can be any of the RTP_TRANSPORT ids defined in rtp.h
value A pointer to the value to set for the given ID.

Definition at line 85 of file rtp_transport.c.

Referenced by rtp_session_init(), and rtp_set_delivery().


Generated on Tue Feb 3 03:10:03 2009 for libnemesi by  doxygen 1.5.4