int sm_conf_prim_start(struct sm_conf_prim_start_parms *confp)
typedef struct sm_conf_prim_start_parms {
tSMChannelId channel; /* in */
tSM_INT volume; /* in */
tSM_INT agc; /* in */
/* Only in Prosody version 2 (TiNG) */
enum kSMConfType {
kSMConfTypeStandard,
kSMConfTypeIndividualVolume,
} conf_type; /* in */
/* End of part only in Prosody version 2 (TiNG) */
} SM_CONF_PRIM_START_PARMS;
Sets up an output channel channel on which will be output the conferenced sum of all participating input channels (each participant is added to the conference through a call to sm_conf_prim_add()). The volume and agc parameters control the output level, and are specified as for sm_replay_start().
The channel and all the participating input channels will all need to be processed by the same module. This can be ensured by using the group parameter when allocating channels or by using sm_channel_alloc_placed().
This requires either the module conf (for standard conferencing) or civ (for conferencing with individual volume control) to have been downloaded.
The channel output is reserved for conferencing until sm_conf_prim_abort() or sm_conf_prim_stop() stops the channel output from being used. No other output activity can take place on the channel during this time.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody speech processing API.