Prosody RTP processing: API: sm_vmptx_config_encryption_aes_f8

Prototype Definition

int sm_vmptx_config_encryption_aes_f8(struct sm_vmptx_config_encryption_aes_f8_parms *pp)

Parameters

*pp
a structure of the following type:
typedef struct sm_vmptx_config_encryption_aes_f8_parms {
	tSMVMPtxId vmptx;					/* in */
	tSM_INT keylen;						/* in */
	char *key;						/* in */
} SM_VMPTX_CONFIG_ENCRYPTION_AES_F8_PARMS;

Description

Configures a VMP[tx] to use AES-f8 encryption, as defined in IETF RFC 3711.

This requires the module securertp to have been downloaded.

Fields

vmptx
The VMP[tx] to configure
keylen
The length of the encryption key in octets.
key
The encryption key.

Returns

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


This function is part of the Prosody RTP processing API.