Prosody RTP processing: API: sm_vidmptx_datafeed_connect

This function is deprecated.

Prototype Definition

int sm_vidmptx_datafeed_connect(struct sm_vidmptx_datafeed_connect_parms *datafeedp)

Parameters

*datafeedp
a structure of the following type:
typedef struct sm_vidmptx_datafeed_connect_parms {
	tSMDatafeedId data_source;				/* in */
	tSMVidMPtxId vidmptx;					/* in */
} SM_VIDMPTX_DATAFEED_CONNECT_PARMS;

Description

Connects a datafeed to a VidMP[tx]. The data_source must be a datafeed obtained a call to any of the *_get_datafeed() functions. The VidMP[tx] vidmptx will receive any data that is generated by the output task from which data_source was derived.

To disconnect a VidMP[tx] from a datafeed, specify kSMNullDatafeedId as the tSMDatafeedId in data_source

Requires the module datafeed to have been downloaded.

Fields

data_source (Deprecated)
The datafeed acting as a source of data
vidmptx (Deprecated)
The VidMP[tx] that will receive the data

Returns

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


This function is part of the Prosody RTP processing API.