class H323_LIDCapability

This class describes the LID based codec capability

Inheritance:


Public Methods

[more] Construction
[more] Overrides from class PObject
[more] Identification functions
[more] Operations
[more] Protocol manipulation


Inherited from H323AudioCapability:


Inherited from H323RealTimeCapability:


Inherited from H323Capability:

Public Methods

Member variable access

Protected Fields

oCapabilityDirection capabilityDirection


Documentation

This class describes the LID based codec capability
o Construction

o H323_LIDCapability( const OpalMediaFormat & mediaFormat )
Create a new capability.
Parameters:
mediaFormat - RTP codec type for capability

o Overrides from class PObject

oComparison Compare(const PObject & obj) const
Compare the object with another of the same class

ovirtual PObject* Clone() const
Create a copy of the object

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

o Identification functions

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 H245_AudioCapability::e_nonStandard.

o Operations

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

oBOOL IsValid() const
Determine if the codec specified for the object is valid

ostatic void AddAllCapabilities( const OpalLineInterfaceDevice & device, H323Capabilities & capabilities, PINDEX descriptorNum, PINDEX simultaneous )
Add all of the capabilities that a LID is capable of.
Parameters:
device - Device to get codecs from
capabilities - Table to add capabilities to
descriptorNum - The member of the capabilityDescriptor to add
simultaneous - The member of the SimultaneousCapabilitySet to add

o Protocol manipulation

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