Previous PageTable Of Contents../index.htmlIndexNext Page

dcb_gettalkers( )

Description | Cautions | Example | Errors

Name:

int dcb_gettalkers(devh,confid,numpty,talkers)

Inputs:

int devh

  DCB/SC DSP device handle

 

int confid

  conference identifier

 

int * numpty

  pointer to number of active talkers

 

MS_CDT * talkers

  pointer to array of talker descriptions

Returns:

0 on success
-1 on failure

Includes:

srllib.h
dtilib.h
msilib.h
dcblib.h

Category:

Auxiliary

Mode:

synchronous

Top Of PageDescription

The dcb_gettalkers( ) function retrieves information about the conferees actively talking in the specified conference.

Parameter

Description

devh:

The DCB/SC DSP device handle.

confid:

The conference identifier.

numpty:

Pointer to number of active talkers.

talkers:

Pointer to the array of talker descriptions.

NOTE:
The list is not returned in any specified order.

The returned array of MS_CDT structures contains the active talker descriptions. The array has numpty number of elements. Each MS_CDT structure describes one active talker and has the following format:

chan_num contains the transmit time slot number of the actively talking conferee. chan_sel specifies that the conferee is an SCbus time slot.

NOTES:
1. For active talker retrieval, chan_attr is not used.
2. Active talker information is associated with the DSP device handle. The information is invalid upon closing the device.
3. The application is responsible for allocating a table of MS_CDTs large enough to store all the active talkers.

Top Of PageCautions

This function fails when:

Top Of PageExample

Top Of PageErrors

If the function does not complete successfully, it will return -1 to indicate an error. Use the Standard Attribute functions ATDV_LASTERR( ) to obtain the applicable error value, or ATDV_ERRMSGP( ) to obtain a more descriptive error message.

Refer to the error type tables found in Chapter 2 of this guide. Error defines can be found in dtilib.h, msilib.h or dcblib.h.


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2000, Dialogic Corporation
All rights reserved
This page generated January, 2002