Prosody RTP processing: API: sm_rtcphand_status

Prototype Definition

int sm_rtcphand_status(struct sm_rtcphand_status_parms *statusp)

Parameters

*statusp
a structure of the following type:
typedef struct sm_rtcphand_status_parms {
	tSMRTCPHandId rtcphand;					/* in */
	enum kSMRTCPHandStatus {
		kSMRTCPHandStatusRunning,
	} status;						/* out */
} SM_RTCPHAND_STATUS_PARMS;

Description

Returns the current status of the RTCP handler. This function must be called when the event obtained from sm_rtcphand_get_event() is signalled and sm_rtcphand_get_data() indicates that no data is available for collection.

Fields

rtcphand
The RTCP handler to interrogate
status
One of these values:
kSMRTCPHandStatusRunning
The RTCP handler is running normally.

Returns

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


This function is part of the Prosody RTP processing API.