OPAL Version 3.10.4

- Main Page
- Related Pages
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Public Types | Protected Attributes
H323_G711Capability Class Reference

`#include <h323caps.h>`

Inheritance diagram for H323_G711Capability:

## Public Types

enum | Mode { ALaw, muLaw }
| Specific G.711 encoding algorithm. More...
enum | Speed { At64k, At56k }
| Specific G.711 encoding bit rates. More...

## Public Member Functions

Construction
| H323_G711Capability (Mode mode=muLaw, Speed speed=At64k)
Overrides from class PObject
virtual PObject * | Clone () const
Identification functions
virtual unsigned | GetSubType () const
virtual PString | GetFormatName () const
Public Member Functions inherited from H323AudioCapability
| H323AudioCapability ()
virtual MainTypes | GetMainType () const
virtual unsigned | GetDefaultSessionID () const
virtual void | SetTxFramesInPacket (unsigned frames)
virtual unsigned | GetTxFramesInPacket () const
virtual unsigned | GetRxFramesInPacket () const
virtual PBoolean | OnSendingPDU (H245_Capability &pdu) const
virtual PBoolean | OnSendingPDU (H245_DataType &pdu) const
virtual PBoolean | OnSendingPDU (H245_ModeElement &pdu) const
virtual PBoolean | OnSendingPDU (H245_AudioCapability &pdu, unsigned packetSize) const
virtual PBoolean | OnSendingPDU (H245_AudioCapability &pdu, unsigned packetSize, CommandType type) const
virtual PBoolean | OnSendingPDU (H245_AudioMode &pdu) const
virtual PBoolean | OnReceivedPDU (const H245_Capability &pdu)
virtual PBoolean | OnReceivedPDU (const H245_DataType &pdu, PBoolean receiver)
virtual PBoolean | OnReceivedPDU (const H245_AudioCapability &pdu, unsigned &packetSize)
virtual PBoolean | OnReceivedPDU (const H245_AudioCapability &pdu, unsigned &packetSize, CommandType type)
virtual H323Channel * | CreateChannel (H323Connection &connection, H323Channel::Directions dir, unsigned sessionID, const H245_H2250LogicalChannelParameters *param) const
| H323RealTimeCapability ()
| H323RealTimeCapability (const H323RealTimeCapability &rtc)
virtual | ~H323RealTimeCapability ()
void | AttachQoS (RTP_QOS *_rtpqos)
| Attach a QoS specification to this channel.
Public Member Functions inherited from H323Capability
| H323Capability ()
Comparison | Compare (const PObject &obj) const
void | PrintOn (ostream &strm) const
virtual PBoolean | IsMatch (const PASN_Choice &subTypePDU) const
virtual PBoolean | IsUsable (const H323Connection &connection) const
CapabilityDirection | GetCapabilityDirection () const
void | SetCapabilityDirection (CapabilityDirection dir)
unsigned | GetCapabilityNumber () const
| Get unique capability number.
void | SetCapabilityNumber (unsigned num)
| Set unique capability number.
OpalMediaFormat | GetMediaFormat () const
bool | UpdateMediaFormat (const OpalMediaFormat &format)
RTP_DataFrame::PayloadTypes | GetPayloadType () const
| Get the payload type for the capaibility.
void | SetPayloadType (RTP_DataFrame::PayloadTypes pt)
| Set the payload type for the capaibility.

## Protected Attributes

Mode | mode
Speed | speed

## Detailed Description

This class describes the G.711 codec capability.

## Member Enumeration Documentation

enum H323_G711Capability::Mode

Specific G.711 encoding algorithm.

Enumerator:

  ALaw | European standard.
  muLaw | American standard.

enum H323_G711Capability::Speed

Specific G.711 encoding bit rates.

Enumerator:

  At64k | European standard.
  At56k | American standard.

## Constructor & Destructor Documentation

H323_G711Capability::H323_G711Capability | ( | Mode | mode = `muLaw`,
|  | Speed | speed = `At64k`
| ) |  |

Create a new G.711 capability.

Parameters:

  mode | Type of encoding.
  speed | Encoding bit rate.

## Member Function Documentation

virtual PObject* H323_G711Capability::Clone | ( |  | ) | const

virtual

Create a copy of the object.

virtual PString H323_G711Capability::GetFormatName | ( |  | ) | const

virtual

Get the name of the media data format this class represents.

Implements H323Capability.

virtual unsigned H323_G711Capability::GetSubType | ( |  | ) | const

virtual

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.

Implements H323Capability.

## Field Documentation

Mode H323_G711Capability::mode

protected

Speed H323_G711Capability::speed

protected

The documentation for this class was generated from the following file:

- h323caps.h