PREV TOC HOME INDEX NEXT


7.2. IP_CAPABILITY

The IP_CAPABILITY data structure provides a level of capability information in addition to simply the capability or codec identifier.

Note: The IP_CAPABILITY data structure is not intended to provide all the flexibility of the H.245 terminal capability structure, but provides a first level of useful information in addition to the capability or codec identifier.

The data structure definition is as follows.

    typedef struct
    {
        int                     capability;
        int                     type;
        int                     direction;
        int                     payload_type;
        IP_CAPABILITY_UNION     extra;
        char                    rfu[0x10];
    } IP_CAPABILITY; 

Table 21 describes the meaning of each field in the IP_CAPABILITY data structure.

Table 21. IP_CAPABILITY Field Descriptions 

Field

Description

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_g729AnnexA
  • GCCAP_AUDIO_g729AnnexAwAnnexB
  • GCCAP_AUDIO_gsmFullRate
type The category of capability specified in this structure. Indicates which member of the IP_CAPABILITY_UNION union is being used. Possible values are:
  • GCCAPTYPE_AUDIO - Audio
direction The capability direction code for this capability. Possible values are:
  • IP_CAP_DIR_LCLTRANSMIT - Indicates a transmit capability for the local endpoint.
  • IP_CAP_DIR_LCLRECIEVE - Indicates a receive capability for the local endpoint
payload_type The payload type. When using a standard payload type, set the value of this field to IP_USE_STANDARD_PAYLOADTYPE. When using a non-standard payload type, use this field to specify the RTP payload type that will be used in conjunction with the coder specified in the capability field in this structure.
extra The contents of the IP_CAPABILITY_UNION will be indicated by the type field.
rfu Reserved for future use. Must be set to zero when not used.


PREV TOC HOME INDEX NEXT

Click here to contact Telecom Support Resources

Copyright 2003, Intel Corporation
All rights reserved
This page generated January, 2003