Prosody RTP processing: API: sm_vidmptx_create

This function is deprecated.

Prototype Definition

int sm_vidmptx_create(struct sm_vidmptx_create_parms *vidmptxp)

Parameters

*vidmptxp
a structure of the following type:
typedef struct sm_vidmptx_create_parms {
	tSMVidMPtxId vidmptx;					/* out */
	tSMModuleId module;					/* in */
} SM_VIDMPTX_CREATE_PARMS;

Description

Allocates, on a specific module, a new VidMP[tx] to transmit RTP data to a remote device.

If the call completes successfully, the parameter vidmptx will be set to the identifier for that vidmptx.

This requires the module vmptx to have been downloaded.

Fields

vidmptx (Deprecated)
The newly created VidMP[tx].
module (Deprecated)
A value obtained from sm_open_module() which indicates the module where the VidMP[tx] 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.