Prosody RTP processing: API: sm_vmptx_create_csrc_list

Prototype Definition

int sm_vmptx_create_csrc_list(struct sm_vmptx_create_csrc_list_parms *csrcp)

Parameters

*csrcp
a structure of the following type:
typedef struct sm_vmptx_create_csrc_list_parms {
	tSMVMPTxCSRCListId csrc_list;				/* out */
	tSMModuleId module;					/* in */
} SM_VMPTX_CREATE_CSRC_LIST_PARMS;

Description

Creates a CSRC list object that can be used by multiple VMP[tx].

The CSRC values can be set using sm_vmptx_csrc_list_set().

Fields

csrc_list
The newly created CSRC list.
module
A value obtained from sm_open_module() which indicates the module where the CSRC list is to be allocated.

Returns

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


This function is part of the Prosody RTP processing API.