Prosody RTP processing: API: sm_rtcphand_config_reports

Prototype Definition

int sm_rtcphand_config_reports(struct sm_rtcphand_config_reports_parms *rvp)

Parameters

*rvp
a structure of the following type:
typedef struct sm_rtcphand_config_reports_parms {
	tSMRTCPHandId rtcphand;					/* in */
	tSM_INT reports;					/* in */
} SM_RTCPHAND_CONFIG_REPORTS_PARMS;

Description

Configures the reports to be locally generated by RTCP. The reports are collected using sm_rtcphand_get_data().

Fields

rtcphand
The RTCP handler to configure
reports
The reports desired. This is a bitmask of the desired reports, with bit N indicating that report type N is to be generated. Summary reports should not be included in the bit mask as these are solicited explicitly. The type numbers are the same as for sm_rtcphand_get_data().

Returns

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


This function is part of the Prosody RTP processing API.