Prosody H.223 Mux: API: sm_h223mux_datafeed_connect

This function is under development. It could be changed or withdrawn, and may not be implemented in this release.

Prototype Definition

int sm_h223mux_datafeed_connect(struct sm_h223mux_datafeed_connect_parms *datafeedp)

Parameters

*datafeedp
a structure of the following type:
typedef struct sm_h223mux_datafeed_connect_parms {
	tSMDatafeedId datafeed;					/* in */
	enum kSMH223muxInputType {
		kSMH223muxInputTypeH245Ctl,
		kSMH223muxInputTypeAudio,
		kSMH223muxInputTypeVideo,
		kSMH223muxInputTypeMux,
	} port;							/* in */
	tSMH223muxId h223mux;					/* in */
} SM_H223MUX_DATAFEED_CONNECT_PARMS;

Description

Connect a datafeed to one of the three inputs of the H.223 mux.

Fields

datafeed (Only in Preliminary Documentation)
The datafeed object to be connected.
port (Only in Preliminary Documentation)
Which input of the mux to connect the datafeed to.
One of these values:
kSMH223muxInputTypeH245Ctl
Indicates that the datafeed should be connected to the H.245 input
kSMH223muxInputTypeAudio
Indicates that the datafeed should be connected to the audio input
kSMH223muxInputTypeVideo
Indicates that the datafeed should be connected to the video input
kSMH223muxInputTypeMux
Indicates that the datafeed should be connected to the muxed data input
h223mux (Only in Preliminary Documentation)
The mux to connect the datafeed to.

Returns

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


This function is part of the Prosody H.223 Mux API.