udp.c File Reference

Include dependency graph for udp.c:


Data Structures

struct  sout_access_out_sys_t

Defines

#define MAX_EMPTY_BLOCKS   200
#define SOUT_CFG_PREFIX   "sout-udp-"
#define CACHING_TEXT   N_("Caching value (ms)")
#define CACHING_LONGTEXT
#define GROUP_TEXT   N_("Group packets")
#define GROUP_LONGTEXT
#define DEFAULT_PORT   1234

Functions

static int Open (vlc_object_t *)
 Probes and initializes.
static void Close (vlc_object_t *)
 Releases resources.
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static ssize_t Write (sout_access_out_t *, block_t *)
static int Seek (sout_access_out_t *, off_t)
static int Control (sout_access_out_t *, int, va_list)
static void * ThreadWrite (void *)
static block_tNewUDPPacket (sout_access_out_t *, mtime_t)

Variables

static const char *const ppsz_sout_options []
static const char *const ppsz_core_options []

Define Documentation

#define CACHING_LONGTEXT

Value:

N_( \
    "Default caching value for outbound UDP streams. This " \
    "value should be set in milliseconds." )

#define CACHING_TEXT   N_("Caching value (ms)")

#define DEFAULT_PORT   1234

#define GROUP_LONGTEXT

Value:

N_("Packets can be sent one by one at the right time " \
                          "or by groups. You can choose the number " \
                          "of packets that will be sent at a time. It " \
                          "helps reducing the scheduling load on " \
                          "heavily-loaded systems." )

#define GROUP_TEXT   N_("Group packets")

#define MAX_EMPTY_BLOCKS   200

Referenced by NewUDPPacket(), and rtmp_new_block().

#define SOUT_CFG_PREFIX   "sout-udp-"


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 int Control ( sout_access_out_t p_access,
int  i_query,
va_list  args 
) [static]

static block_t * NewUDPPacket ( sout_access_out_t p_access,
mtime_t  i_dts 
) [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 int Seek ( sout_access_out_t p_access,
off_t  i_pos 
) [static]

References msg_Err.

static void * ThreadWrite ( void *  data  )  [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 

static ssize_t Write ( sout_access_out_t p_access,
block_t p_buffer 
) [static]


Variable Documentation

const char* const ppsz_core_options[] [static]

Initial value:

 {
    "dscp",
    "ttl",
    "miface",
    "miface-addr",
    NULL
}

const char* const ppsz_sout_options[] [static]

Initial value:

 {
    "caching",
    "group",
    NULL
}


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