Prosody RTP processing: API: sm_vidmprx_stop

This function is deprecated.

Prototype Definition

int sm_vidmprx_stop(struct sm_vidmprx_stop_parms *stopp)

Parameters

*stopp
a structure of the following type:
typedef struct sm_vidmprx_stop_parms {
	tSMVidMPrxId vidmprx;					/* in */
} SM_VIDMPRX_STOP_PARMS;

Description

Requests that a VidMP[rx] stops executing. The user will be notified that a VidMP[rx] has terminated by a final status, kSMVidMPrxStatusStopped, from sm_vidmprx_status(). Once the stopped status notification has been received the VidMP[rx] can be destroyed using sm_vidmprx_destroy().

Once the VidMP[rx] has stopped the event should no longer be used to wait for status notifications as it will be signalled permanently. The event is invalidated when sm_vidmprx_destroy() is called.

Fields

vidmprx (Deprecated)
A tSMVidMPrxId that has been previously created by a call to sm_vidmprx_create().

Returns

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


This function is part of the Prosody RTP processing API.