Prosody RTP processing: API: sm_vmprx_config_jitter_resync_notify

Prototype Definition

int sm_vmprx_config_jitter_resync_notify(struct sm_vmprx_config_jitter_resync_notify_parms *notifyp)

Parameters

*notifyp
a structure of the following type:
typedef struct sm_vmprx_config_jitter_resync_notify_parms {
	tSMVMPrxId vmprx;					/* in */
	tSM_INT enable;						/* in */
} SM_VMPRX_CONFIG_JITTER_RESYNC_NOTIFY_PARMS;

Description

Configures the notification of VMP[rx] timestamp resync. The clock rate of an incomming RTP stream may deviate by a small amount from that of the local system (clock drift) requiring the VMP[rx] jitter buffer to resynchronise when the accumulated drift exceeds jitter buffer capacity. By default the the application is unaware of any such resyncs, but this call allows the VMP[rx] to be configured so that the VMP[rx] event is signalled when such resync occurs. The application then must invoke sm_vmprx_status() to obtain the resync status information.

Fields

vmprx
The VMP[rx] to be configured
enable
A non-zero value value enables notification of sync loss.

Returns

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


This function is part of the Prosody RTP processing API.