class H323_GSM0610Capability: public H323AudioCapability

This class describes the GSM 0610 codec capability

Inheritance:



Inherited from H323AudioCapability:

Public

Construction

Identification functions

Operations

Protocol manipulation


Inherited from H323RealTimeCapability:


Inherited from H323Capability:

Public

Overrides from class PObject

Member variable access

Protected Fields

oCapabilityDirection capabilityDirection


Documentation

This class describes the GSM 0610 codec capability
ovirtual PObject* Clone() const
Create a copy of the object

ovirtual H323Codec* CreateCodec( H323Codec::Direction direction ) const
Create the codec instance, allocating resources as required.
Parameters:
direction - Direction in which this instance runs

ovirtual 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.

ovirtual PString GetFormatName() const
Get the name of the media data format this class represents

ovirtual void SetTxFramesInPacket( unsigned frames )
Set the maximum size (in frames) of data that will be transmitted in a single PDU.

This will also be the desired number that will be sent by most codec implemetations.

The default behaviour sets the txFramesInPacket variable.

Parameters:
frames - Number of frames per packet

ovirtual 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

ovirtual 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++.