Prosody RTP processing: API: sm_vmptx_config_profile_specific

Prototype Definition

int sm_vmptx_config_profile_specific(struct sm_vmptx_config_profile_specific_parms *psp)

Parameters

*psp
a structure of the following type:
typedef struct sm_vmptx_config_profile_specific_parms {
	tSMVMPtxId vmptx;					/* in */
	tSM_INT enable;						/* in */
	char *plugin;						/* in */
	tSM_INT paramlen;					/* in */
	char *paramval;						/* in */
} SM_VMPTX_CONFIG_PROFILE_SPECIFIC_PARMS;

Description

Normally a VMP [tx] generates standard RTP packets. Use of profile specific RTP extensions (such as use of RTP extension header) can be set up to be performed by a specified ProsodyS plugin through invoking this call. Once use of plugin with this VMP [tx] has been set up, some plugin specific control over generated RTP can occur through invoking sm_vmptx_set_profile_specific() . See documentation supplied with ProsodyS profile specific plugin for further details.

Fields

vmptx
The VMP[tx] to configure
enable
Set non-zero to enable profile specific RTP processing.
plugin
Set to a zero terminated string identifying plugin that should perform profile specific processing.
paramlen
The length of the plugin specific parameter string in octets.
paramval
The plugin specific parameter string contents.

Returns

0 if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody RTP processing API.