Prosody RTP processing: API: sm_rtcphand_config_options

Prototype Definition

int sm_rtcphand_config_options(struct sm_rtcphand_config_options_parms *rvp)

Parameters

*rvp
a structure of the following type:
typedef struct sm_rtcphand_config_options_parms {
	tSMRTCPHandId rtcphand;					/* in */
	tSM_INT rtcptx_suppress_xr;				/* in */
} SM_RTCPHAND_CONFIG_OPTIONS_PARMS;

Description

Configures options releated to the RTCP protocol. Currently the only option is one to alter the default behaviour of including XR elements in RTCP packets generated by Prosody-S/Prosody-X.

Fields

rtcphand
The RTCP handler to configure
rtcptx_suppress_xr
Non-zero value will supress the inclusion of XR elements in transmitted RTCP packets.

Returns

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


This function is part of the Prosody RTP processing API.