Dialogic IP Phone 05-2239-009 User Manual

Page of 604
Dialogic
®
 Global Call API Library Reference — November 2007
541
Dialogic Corporation
basic audio capability information — IP_AUDIO_CAPABILITY
IP_AUDIO_CAPABILITY
basic audio capability information
typedef struct
{
    unsigned long   frames_per_pkt;
    long            VAD;
} IP_AUDIO_CAPABILITY;
„ Description
The IP_AUDIO_CAPABILITY data structure is used to allow some minimum set of information to 
be exchanged together with the audio codec identifier. 
„ Field Descriptions
The fields of the IP_AUDIO_CAPABILITY data structure are described as follows:
frames_per_pkt 
When bundling more than one audio frame into a single transport packet, this value should 
represent the maximum number of frames per packet that will be sent on the wire. When set to 
zero, indicates that the exact number of frames per packet is not known, or that the data is not 
applicable. This field can also be set to GCCAP_dontCare to indicate that any supported value 
is valid. 
Note: For G.711 coders, this field represents the frame size (for example, 10 msec); the 
frames per packet value is fixed at 1 fpp. For other coders, this field represents the 
frames per packet and the frame size is fixed. See 
, on page 125 for more information.
VAD 
Identifies whether voice activated detection (VAD) is enabled or disabled. Possible values are:
GCPV_ENABLE – VAD enabled
GCPV_DISABLE – VAD disabled
GCCAP_dontCare – Any supported value is valid