rtp.c File Reference

Include dependency graph for rtp.c:


Defines

#define RTP_CACHING_TEXT   N_("RTP de-jitter buffer length (msec)")
#define RTP_CACHING_LONGTEXT
#define RTCP_PORT_TEXT   N_("RTCP (local) port")
#define RTCP_PORT_LONGTEXT
#define SRTP_KEY_TEXT   N_("SRTP key (hexadecimal)")
#define SRTP_KEY_LONGTEXT
#define SRTP_SALT_TEXT   N_("SRTP salt (hexadecimal)")
#define SRTP_SALT_LONGTEXT
#define RTP_MAX_SRC_TEXT   N_("Maximum RTP sources")
#define RTP_MAX_SRC_LONGTEXT
#define RTP_TIMEOUT_TEXT   N_("RTP source timeout (sec)")
#define RTP_TIMEOUT_LONGTEXT
#define RTP_MAX_DROPOUT_TEXT   N_("Maximum RTP sequence number dropout")
#define RTP_MAX_DROPOUT_LONGTEXT
#define RTP_MAX_MISORDER_TEXT   N_("Maximum RTP sequence number misordering")
#define RTP_MAX_MISORDER_LONGTEXT
#define IPPROTO_DCCP   33
#define IPPROTO_UDPLITE   136

Functions

static int Open (vlc_object_t *obj)
 Probes and initializes.
static void Close (vlc_object_t *obj)
 Releases resources.
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static int Control (demux_t *demux, int i_query, va_list args)
 Control callback.
static int extract_port (char **phost)
 Extracts port number from "[host]:port" or "host:port" strings, and remove brackets from the host name.
static void * codec_init (demux_t *demux, es_format_t *fmt)
static void codec_destroy (demux_t *demux, void *data)
static void codec_decode (demux_t *demux, void *data, block_t *block)
static void * stream_init (demux_t *demux, const char *name)
static void stream_destroy (demux_t *demux, void *data)
static void stream_decode (demux_t *demux, void *data, block_t *block)
static void * pcmu_init (demux_t *demux)
static void * gsm_init (demux_t *demux)
static void * pcma_init (demux_t *demux)
static void * l16s_init (demux_t *demux)
static void * l16m_init (demux_t *demux)
static void * qcelp_init (demux_t *demux)
static void * mpa_init (demux_t *demux)
static void mpa_decode (demux_t *demux, void *data, block_t *block)
static void * mpv_init (demux_t *demux)
static void mpv_decode (demux_t *demux, void *data, block_t *block)
static void * ts_init (demux_t *demux)
int rtp_autodetect (demux_t *demux, rtp_session_t *session, const block_t *block)

Define Documentation

#define IPPROTO_DCCP   33

#define IPPROTO_UDPLITE   136

#define RTCP_PORT_LONGTEXT

Value:

N_( \
    "RTCP packets will be received on this transport protocol port. " \
    "If zero, multiplexed RTP/RTCP is used.")

#define RTCP_PORT_TEXT   N_("RTCP (local) port")

#define RTP_CACHING_LONGTEXT

Value:

N_( \
    "How long to wait for late RTP packets (and delay the performance)." )

#define RTP_CACHING_TEXT   N_("RTP de-jitter buffer length (msec)")

#define RTP_MAX_DROPOUT_LONGTEXT

Value:

N_( \
    "RTP packets will be discarded if they are too much ahead (i.e. in the " \
    "future) by this many packets from the last received packet." )

#define RTP_MAX_DROPOUT_TEXT   N_("Maximum RTP sequence number dropout")

#define RTP_MAX_MISORDER_LONGTEXT

Value:

N_( \
    "RTP packets will be discarded if they are too far behind (i.e. in the " \
    "past) by this many packets from the last received packet." )

#define RTP_MAX_MISORDER_TEXT   N_("Maximum RTP sequence number misordering")

#define RTP_MAX_SRC_LONGTEXT

Value:

N_( \
    "How many distinct active RTP sources are allowed at a time." )

#define RTP_MAX_SRC_TEXT   N_("Maximum RTP sources")

#define RTP_TIMEOUT_LONGTEXT

Value:

N_( \
    "How long to wait for any packet before a source is expired.")

#define RTP_TIMEOUT_TEXT   N_("RTP source timeout (sec)")

#define SRTP_KEY_LONGTEXT

Value:

N_( \
    "RTP packets will be authenticated and deciphered "\
    "with this Secure RTP master shared secret key.")

#define SRTP_KEY_TEXT   N_("SRTP key (hexadecimal)")

#define SRTP_SALT_LONGTEXT

Value:

N_( \
    "Secure RTP requires a (non-secret) master salt value.")

#define SRTP_SALT_TEXT   N_("SRTP salt (hexadecimal)")


Function Documentation

static void Close ( vlc_object_t p_this  )  [static]

Releases resources.

Close the module.

Destroys the X11 window.

Disconnect from the X server.

Close a SDL video output.

It destroys an OpenGL vout display.

Terminate a vout display created by Open.

It destroyes a Direct3D vout display.

Terminate an output method created by Open.

Release the drawable.

Close a libcaca video output.

Close a aa video output method.

Close the filter.

Terminate a splitter module.

This function closes a clone video splitter module.

Common close function.

Releases allocate resources.

Close: Destructor.

Parameters:
p_this pointer to this filter object
p_this,: the filter object

static void codec_decode ( demux_t demux,
void *  data,
block_t block 
) [static]

static void codec_destroy ( demux_t demux,
void *  data 
) [static]

static void* codec_init ( demux_t demux,
es_format_t fmt 
) [static]

static int Control ( demux_t demux,
int  i_query,
va_list  args 
) [static]

static int extract_port ( char **  phost  )  [static]

Extracts port number from "[host]:port" or "host:port" strings, and remove brackets from the host name.

Parameters:
phost pointer to the string upon entry, pointer to the hostname upon return.
Returns:
port number, 0 if missing.

static void* gsm_init ( demux_t demux  )  [static]

static void* l16m_init ( demux_t demux  )  [static]

static void* l16s_init ( demux_t demux  )  [static]

static void mpa_decode ( demux_t demux,
void *  data,
block_t block 
) [static]

static void* mpa_init ( demux_t demux  )  [static]

static void mpv_decode ( demux_t demux,
void *  data,
block_t block 
) [static]

static void* mpv_init ( demux_t demux  )  [static]

static int Open ( vlc_object_t p_this  )  [static]

Probes and initializes.

Todo:

  • Improve CDDB support (non-blocking, cache, .

Open the module.

Create an X11 window.

Probe the X server.

This function initializes SDL vout method.

It creates an OpenGL vout display.

This function allocates and initialize the DirectX vout display.

It creates a Direct3D vout display.

This function allocates and initializes a FB vout method.

Find the drawable set by libvlc application.

This function initializes libcaca vout method.

This function allocates and initializes a aa vout method.

This function allocates and initializes a Wall splitter module.

Open the filter.

This function allocates and initializes a Clone splitter module.

Open: initialize and create stuff.

Connect to the sftp server and ask for a file.

Parameters:
p_this,: the vlc_object
Returns:
VLC_SUCCESS if everything was fine
Parameters:
p_this 
p_this,: the filter object
Returns:
VLC_SUCCESS or vlc error codes

Todo:
Reinstate meta codec name

static void* pcma_init ( demux_t demux  )  [static]

static void* pcmu_init ( demux_t demux  )  [static]

static void* qcelp_init ( demux_t demux  )  [static]

int rtp_autodetect ( demux_t demux,
rtp_session_t session,
const block_t block 
)

static void stream_decode ( demux_t demux,
void *  data,
block_t block 
) [static]

References block_Release(), and stream_DemuxSend().

Referenced by rtp_autodetect().

static void stream_destroy ( demux_t demux,
void *  data 
) [static]

References stream_Delete().

Referenced by rtp_autodetect().

static void* stream_init ( demux_t demux,
const char *  name 
) [static]

References demux_t::out, and stream_DemuxNew().

Referenced by ts_init().

static void* ts_init ( demux_t demux  )  [static]

References demux_t::psz_demux, and stream_init().

Referenced by rtp_autodetect().

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Generated on Tue May 25 08:05:08 2010 for VLC by  doxygen 1.5.6