This function is deprecated.
int sm_vidmptx_status(struct sm_vidmptx_status_parms *statusp)
typedef struct sm_vidmptx_status_parms {
tSMVidMPtxId vidmptx; /* in */
enum kSMVidMPtxStatus {
kSMVidMPtxStatusRunning,
kSMVidMPtxStatusStopped,
kSMVidMPtxStatusSSRC,
kSMVidMPtxStatusInternalError,
} status; /* out */
union {
struct {
int ssrc; /* out */
} ssrc; /* out */
struct {
int num_errors; /* out */
} internal_error; /* out */
} u; /* out */
} SM_VIDMPTX_STATUS_PARMS;
Returns the current status of the VidMP[tx] or an error to indicate that a problem occurred during start-up.
When the event, obtained from sm_vidmptx_get_event(), is signalled the user must call this function to determine the nature of the status change. The change in status may indicate that an error occurred whilst processing a user request or it may be notifiying the user of a change to the previous state of the VidMP[tx].
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody RTP processing API.