Prosody H.223 Mux: API: sm_h223mux_get_datafeed

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

Prototype Definition

int sm_h223mux_get_datafeed(struct sm_h223mux_datafeed_parms *datafeedp)

Parameters

*datafeedp
a structure of the following type:
typedef struct sm_h223mux_datafeed_parms {
	tSMH223muxId h223mux;					/* in */
	enum kSMH223muxOutputType {
		kSMH223muxOutputTypeH245Ctl,
		kSMH223muxOutputTypeAudio,
		kSMH223muxOutputTypeVideo,
		kSMH223muxOutputTypeMux,
	} port;							/* in */
	tSMDatafeedId datafeed;					/* out */
} SM_H223MUX_DATAFEED_PARMS;

Description

Request a datafeed identifier from an H.223 mux. This identifier can subsequently used in a call to sm_channel_datafeed_connect() .

Fields

h223mux (Only in Preliminary Documentation)
The mux from which to obtain a datafeed.
port (Only in Preliminary Documentation)
Which output of the mux to get the datafeed for.
One of these values:
kSMH223muxOutputTypeH245Ctl
Indicates that the datafeed should be connected to the H.245 output
kSMH223muxOutputTypeAudio
Indicates that the datafeed should be connected to the audio output
kSMH223muxOutputTypeVideo
Indicates that the datafeed should be connected to the video output
kSMH223muxOutputTypeMux
Indicates that the datafeed should be connected to the muxed data output
datafeed (Only in Preliminary Documentation)
The datafeed object associated with the H.223 mux.

Returns

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


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