Prosody RTP processing: API: sm_vmprx_status_codec_sse

Prototype Definition

int sm_vmprx_status_codec_sse(struct sm_vmprx_status_codec_sse_parms *ssep)

Parameters

*ssep
a structure of the following type:
typedef struct sm_vmprx_status_codec_sse_parms {
	tSMVMPrxId vmprx;					/* in */
	tSM_INT payload_type;					/* in */
	enum kSMVMPrxSSEStatus {
		kSMVMPrxSSEStatusNone,
		kSMVMPrxSSEStatusMessage,
	} status;						/* out */
	char *payload;						/* inout */
	tSM_INT max_length;					/* in */
	tSM_INT length;						/* out */
} SM_VMPRX_STATUS_CODEC_SSE_PARMS;

Description

This requires the module sse to have been downloaded.

Fields

vmprx
The VMP[rx] to query
payload_type
The payload type which is configured as SSE
status
The SSE status One of these values:
kSMVMPrxSSEStatusNone
No SSE status to report
kSMVMPrxSSEStatusMessage
A SSE message has been received
payload
A pointer to a buffer to receive the SSE message payload
max_length
The length of the buffer
length
The length of data written to the buffer

Returns

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


This function is part of the Prosody RTP processing API.