|
OpenH323
1.18.0
|
#include <h323caps.h>
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 |
Operations | |
| virtual H323Codec * | CreateCodec (H323Codec::Direction direction) const |
Protected Attributes | |
| Mode | mode |
| Speed | speed |
This class describes the G.711 codec capability.
| H323_G711Capability::H323_G711Capability | ( | Mode | mode = muLaw, |
| Speed | speed = At64k |
||
| ) |
Create a new G.711 capability.
| mode | Type of encoding. |
| speed | Encoding bit rate. |
| virtual PObject* H323_G711Capability::Clone | ( | ) | const [virtual] |
Create a copy of the object.
| virtual H323Codec* H323_G711Capability::CreateCodec | ( | H323Codec::Direction | direction | ) | const [virtual] |
Create the codec instance, allocating resources as required.
| direction | Direction in which this instance runs |
Implements H323Capability.
| 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.
Mode H323_G711Capability::mode [protected] |
Speed H323_G711Capability::speed [protected] |
1.7.6.1