modules/access/vlvc/vlvc.c


GetUsernameDescription

Returns

void

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Initializes the username and description, provided by the user

To top


GetClientServer

Returns

int: VLC_TRUE if the module is launched in server mode
VLC_FALSE if the module is launched in client mode

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Initializes the network-depending data selected by the user,such as the server address or the bind address,the ports to use, the standalone mode...

To top


Block

Returns

int: VLC return code

Parameters

access_t * p_access: a pointer to the access modules structure

Description

Needed to be an access module, but useless in our case.

To top


Open

Returns

int: VLC return code
VLC_SUCCESS in case of success
VLC_ENOMEM if not enough memory

Parameters

vlc_object_t * p_this: a pointer to the common object structure

Description

Loads the conference settings,then launches the core module for the conference to begin

To top


InitVideoSize

Returns

int: VLC return code:
VLC_SUCCESS in case of success
VLC_ENOMEM if not enough memory

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Initializes the video size parameters specified by the user.

To top


GetCachingValues

Returns

void

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Initializes the caching values selected by the user

To top


GetOptions

Returns

int: VLC return code:
VLC_SUCCESS in case of success
VLC_ENOMEM if not enough memory

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Initializes the VLM options.

To top


SetVersion

Returns

void

Parameters

vlvc_param_t *p_sys: the vlvc module specific structure

Description

Initializes the version string of VLVC

To top


GetNumberOfSpaces

Returns

int

Parameters

char *psz_src: the source string

Description

Counts the number of spaces in the source string.

To top


CopyAndAddBackslashes

Returns

void

Parameters

char *psz_src: the source string
char *psz_dest: the destination string
int i_dest_size: the size of the destination string

Description

Copies the source in the destination, and adds backslashesbefore spaces.

To top


GetMulticastMode

Returns

int: VLC return code

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Gets the boolean value of the multicast checkbox.

To top


GetAudioVideoDevices

Returns

int: VLC return code:
VLC_SUCCESS in case of success
VLC_ENOMEM if not enough memory

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Initializes the audio and video devices selected by the user

To top


InitAccess

Returns

void

Parameters

access_t * p_access: a pointer to the access modules structure

Description

Initializes the module data

To top


GetNetworkProtocol

Returns

void

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Initializes the network protocol

To top


GetAudioVideo

Returns

void

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Initializes the audio/video parameters (codec/bitrate) selectedby the user.

To top


GetFixOverlay

Returns

int: VLC return code

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Gets the boolean value if we have to disable the overlay

To top


LaunchCoreModule

Returns

void

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Launches the core module.

To top


GetConferenceMode

Returns

void

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Initializes the conference mode selected by the user.

To top


GetPassword

Returns

void

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Initializes the password provided by the user

To top


Control

Returns

int: depending on the i_query parameter:
VLC_TRUE or VLC_FALSE if VLC is asking for capabilities
A value if VLC is asking for a value

Parameters

access_t * p_access: a pointer to the access modules structure
int i_query: identifies the query type on the access module
va_list args: arguments, unused in our case

Description

Called by VLC to know the module capabilities,and various values.

To top


GetInputMRL

Returns

void

Parameters

access_t * p_access: a pointer to the access modules structure
vlvc_param_t *p_sys: the vlvc module specific structure

Description

Initializes the input MRL

To top


Close

Returns

void

Parameters

vlc_object_t * p_this: a pointer to the common object structure

Description

free unused data structures

To top