Dialogic Global Call IP Benutzerhandbuch

Seite von 604
Dialogic
®
 Global Call API Library Reference — November 2007
543
Dialogic Corporation
basic capability information — IP_CAPABILITY
IP_CAPABILITY
basic capability information
typedef struct
{
    int                     capability;
    int                     type;
    int                     direction;
    int                     payload_type;
    IP_CAPABILITY_UNION     extra;
    char                    rfu[0x10];
} IP_CAPABILITY;
„ Description
The IP_CAPABILITY data structure provides basic media capability information, including the 
capability or codec identification and the direction. The IP_CAPABILITY structure is used as the 
value of one or more parameter element in a GC_PARM_BLK structure when communicating 
coder capabilities between endpoints. 
Note:
The IP_CAPABILITY data structure is not intended to provide all the flexibility of the H.245 
terminal capability structure or SDP, but provides a first level of useful information in addition to 
the capability or codec identifier.
„ Field Descriptions
The fields of the IP_CAPABILITY data structure are described as follows:
capability 
The IP Media capability for this structure. Possible values are:
GCCAP_AUDIO_g711Alaw64k
GCCAP_AUDIO_g711Ulaw64k
GCCAP_AUDIO_g7231_5_3k
GCCAP_AUDIO_g7231_6_3k
GCCAP_AUDIO_g726_16k
GCCAP_AUDIO_g726_24k
GCCAP_AUDIO_g726_32k
GCCAP_AUDIO_g726_40k 
GCCAP_AUDIO_g729AnnexA
GCCAP_AUDIO_g729AnnexAwAnnexB
GCCAP_AUDIO_NO_AUDIO
GCCAP_DATA_t38UDPFax
GCCAP_dontCare
type 
The category of capability specified in this structure. Indicates which member of the 
IP_CAPABILITY_UNION union is being used in the extra field. Possible values are:
GCCAPTYPE_AUDIO – Audio
GCCAPTYPE_RDATA – Data
Note: Video is not supported in this data structure because video requires the use of the 
3PCC operating mode, which does not support this structure.