int sm_rtcphand_request_statistics(struct sm_rtcphand_request_statistics_parms *rrsp)
typedef struct sm_rtcphand_request_statistics_parms { tSMRTCPHandId rtcphand; /* in */ tSM_INT statcode; /* in */ } SM_RTCPHAND_REQUEST_STATISTICS_PARMS;
Instructs RTCP handler to provide a statistics report as soon as possible for the specified category of statistics. The statistics report will appear in the data retrieved through sm_rtcphand_get_data() and may be in addition to statistics reports generated for other reasons. It may not be an additional report if the RTCP handler was about to produce a report of the requested type anyway, for example if the specified report type is currently enabled by sm_rtcphand_config_reports()
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody RTP processing API.