Prosody RTP processing: API: sm_vmprx_set_rtcphand

Prototype Definition

int sm_vmprx_set_rtcphand(struct sm_vmprx_set_rtcphand_parms *rvp)

Parameters

*rvp
a structure of the following type:
typedef struct sm_vmprx_set_rtcphand_parms {
	tSMVMPrxId vmprx;					/* in */
	tSMRTCPHandId rtcphand;					/* in */
} SM_VMPRX_SET_RTCPHAND_PARMS;

Description

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

Fields

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

This function is part of the Prosody RTP processing API.