This class describes the G7231 codec capability
Inheritance:
Public Methods
| Construction
|
| Overrides from class PObject
|
| Operations
|
| Identification functions
|
| Protocol manipulation
|
Public Methods
-
Member variable access
Protected Fields
-
CapabilityDirection capabilityDirection
Documentation
This class describes the G7231 codec capability
Construction
H323_G7231Capability( BOOL annexA = TRUE )
- Create a new G7231 capability.
- Parameters:
- annexA - Enable Annex A silence insertion descriptors
Overrides from class PObject
Comparison Compare(const PObject & obj) const
- Compare the object with another of the same class
virtual PObject* Clone() const
- Create a copy of the object
Operations
virtual H323Codec* CreateCodec( H323Codec::Direction direction ) const
- Create the codec instance, allocating resources as required.
- Parameters:
- direction - Direction in which this instance runs
Identification functions
virtual unsigned GetSubType() const
- Get the sub-type of the capability. This is a code dependent on the
main type of the capability.
This returns one of the four possible combinations of mode and speed
using the enum values of the protocol ASN H245_AudioCapability class.
virtual PString GetFormatName() const
- Get the name of the media data format this class represents
Protocol manipulation
virtual BOOL OnSendingPDU( H245_AudioCapability & pdu, unsigned packetSize ) const
- This function is called whenever and outgoing TerminalCapabilitySet
or OpenLogicalChannel PDU is being constructed for the control channel.
It allows the capability to set the PDU fields from information in
members specific to the class.
The default behaviour sets the data rate field in the PDU.
- Parameters:
- pdu - PDU to set information on
packetSize - Packet size to use in capability
virtual BOOL OnReceivedPDU( const H245_AudioCapability & pdu, unsigned & packetSize )
- This function is called whenever and incoming TerminalCapabilitySet
or OpenLogicalChannel PDU has been used to construct the control
channel. It allows the capability to set from the PDU fields,
information in members specific to the class.
The default behaviour gets the data rate field from the PDU.
- Parameters:
- pdu - PDU to get information from
packetSize - Packet size to use in capability
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.