Prosody RTP processing: API: sm_vmptx_send_sse

Prototype Definition

int sm_vmptx_send_sse(struct sm_vmptx_send_sse_parms *sendssep)

Parameters

*sendssep
a structure of the following type:
typedef struct sm_vmptx_send_sse_parms {
	tSMVMPtxId vmptx;					/* in */
	char *payload;						/* in */
	tSM_INT payload_length;					/* in */
} SM_VMPTX_SEND_SSE_PARMS;

Description

Instructs a VMP[tx] to send a SSE message. The VMP[tx] must be configured to for SSE using sm_vmptx_config_codec_sse().

This requires the module sse to have been downloaded.

Fields

vmptx
The VMP[tx] used to send the SSE message
payload
A pointer to the payload to be sent
payload_length
The length of the payload

Returns

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


This function is part of the Prosody RTP processing API.