Prosody RTP processing: API: sm_vmprx_config_unhandled_payload_reporting

Prototype Definition

int sm_vmprx_config_unhandled_payload_reporting(struct sm_vmprx_unhandled_payload_reporting_parms *pp)

Parameters

*pp
a structure of the following type:
typedef struct sm_vmprx_unhandled_payload_reporting_parms {
	tSMVMPrxId vmprx;					/* in */
	tSM_INT delay;						/* in */
} SM_VMPRX_UNHANDLED_PAYLOAD_REPORTING_PARMS;

Description

Configures a VMP[rx] to report when packets arrive with a payload type it is not configured to handle. The delay prevents repeat notifications from being sent too often. A zero delay will cause every packet with an unhandled payload type to be reported. A negative delay disables reporting of unhandled payload types.

Fields

vmprx
The VMP[rx] to be configured
delay
The minimum delay between reports of unhandled payload types (in ms).

Returns

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


This function is part of the Prosody RTP processing API.