int sm_rtcphand_config_sdes(struct sm_rtcphand_config_sdes_parms *rvp)
typedef struct sm_rtcphand_config_sdes_parms { tSMRTCPHandId rtcphand; /* in */ tSM_INT itemnum; /* in */ tSM_INT stringlen; /* in */ char *stringval; /* in */ } SM_RTCPHAND_CONFIG_SDES_PARMS;
Configures one string to be used by RTCP. The strings are used to specify the source description (SDES) items. Since Canonical End-Point Identifier SDES Item (CNAME) is mandatory in RTCP packets, it should be configured before the RTCP handler needs to transmit RTCP packets.
When a string which has already been configured is configured again, the new value replaces the old one.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody RTP processing API.