int sm_rtcphand_create(struct sm_rtcphand_create_parms *rtcphandp)
typedef struct sm_rtcphand_create_parms {
tSMRTCPHandId rtcphand; /* out */
tSMModuleId module; /* in */
} SM_RTCPHAND_CREATE_PARMS;
Creates a RTCP handler. Note that you must configure the CNAME with sm_rtcphand_config_sdes() before the RTCP handler can generate RTCP packets.
This requires the module rtcp to have been downloaded.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody RTP processing API.