Prosody RTP processing: API: sm_vidmprx_get_datafeed

This function is deprecated.

Prototype Definition

int sm_vidmprx_get_datafeed(struct sm_vidmprx_datafeed_parms *datafeedp)

Parameters

*datafeedp
a structure of the following type:
typedef struct sm_vidmprx_datafeed_parms {
	tSMVidMPrxId vidmprx;					/* in */
	tSMDatafeedId datafeed;					/* out */
} SM_VIDMPRX_DATAFEED_PARMS;

Description

Request a datafeed identifier from a VidMP[rx]. This identifer can subsequently be used in a call to any of the *_datafeed_connect() functions to connect the output from the VidMP[rx] to a destination. It is valid until the VidMP[rx] is destroyed. Datafeed connections can only be made between objects allocated on the same tSMModuleId.

Requires the module datafeed to have been downloaded.

Fields

vidmprx (Deprecated)
The VidMP[rx] from which to obtain a datafeed
datafeed (Deprecated)
The datafeed object associated with the VidMP[rx]

Returns

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


This function is part of the Prosody RTP processing API.