int sm_i460mux_datafeed_connect(struct sm_i460mux_datafeed_connect_parms *datafeedp)
typedef struct sm_i460mux_datafeed_connect_parms { tSMDatafeedId data_source; /* in */ tSMI460muxId i460mux; /* in */ tSMI460InputId input_id; /* out */ } SM_I460MUX_DATAFEED_CONNECT_PARMS;
Connect a datafeed to one of the inputs of the I.460 mux. Up to eight datafeeds may be connected to a single I.460 mux. The datafeed is assumed to be carrying a datastream that has already been uprated by being masked into the correct bit(s) of each octet. This can be achieved by using the datatx firmware module, configured with an appropriate i460_mask. It is up to the user to ensure that the masks used by different datafeeds connected to the same I.460 mux do not overlap.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody I.460 Mux API.