Prosody RTP processing: API: sm_vmptx_set_rtcphand

Prototype Definition

int sm_vmptx_set_rtcphand(struct sm_vmptx_set_rtcphand_parms *rvp)

Parameters

*rvp
a structure of the following type:
typedef struct sm_vmptx_set_rtcphand_parms {
	tSMVMPtxId vmptx;					/* in */
	tSMRTCPHandId rtcphand;					/* in */
} SM_VMPTX_SET_RTCPHAND_PARMS;

Description

Configures the RTCP handler which handles RTCP for the VMP[tx]. The RTCP handler and VMP[tx] must have been allocated on same module.

Fields

vmptx
The VMP[tx] to be configured
rtcphand
The RTCP handler to use. The value kSMNullRTCPHandId, means that no RTCP handler is to be used.

Returns

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


This function is part of the Prosody RTP processing API.