Prosody I.460 Mux: API: sm_i460mux_get_datafeed

Prototype Definition

int sm_i460mux_get_datafeed(struct sm_i460mux_datafeed_parms *datafeedp)

Parameters

*datafeedp
a structure of the following type:
typedef struct sm_i460mux_datafeed_parms {
	tSMI460muxId i460mux;					/* in */
	tSMDatafeedId datafeed;					/* out */
} SM_I460MUX_DATAFEED_PARMS;

Description

Request a datafeed identifier from an I.460 mux. This identifier can subsequently used in a call to sm_tdmtx_datafeed_connect() or sm_channel_datafeed_connect().

Fields

i460mux
The mux from which to obtain a datafeed.
datafeed
The datafeed object associated with the I.460 mux.

Returns

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


This function is part of the Prosody I.460 Mux API.