Prosody RTP processing: API: sm_vidmprx_sync_media

This function is deprecated.

Prototype Definition

int sm_vidmprx_sync_media(struct sm_vidmprx_sync_media_parms *syncmediap)

Parameters

*syncmediap
a structure of the following type:
typedef struct sm_vidmprx_sync_media_parms {
	tSMVidMPrxId vidmprx;					/* in */
	tSMVMPrxId vmprx;					/* in */
} SM_VIDMPRX_SYNC_MEDIA_PARMS;

Description

Attempts to provide synchronisation between the media streams from a VidMP[rx] and a VMP[rx]. This is designed to be used when the two streams originated from the same source. There is no guarantee that synchronisation can be achieved, even for streams originating from the same source.

Fields

vidmprx (Deprecated)
A tSMVidMPrxId that has been previously created by a call to sm_vidmprx_create().
vmprx (Deprecated)
The tSMVMPrxId that corresponds to the stream with which to synchronise

Returns

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


This function is part of the Prosody RTP processing API.