Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

OpalDynaCodecStandardAudioCapability Class Reference

#include <dynacodec.h>

Inheritance diagram for OpalDynaCodecStandardAudioCapability:

H323AudioCapability H323RealTimeCapability H323Capability List of all members.

Public Member Functions

 OpalDynaCodecStandardAudioCapability (const OpalDLLCodecRec &_info, H323EndPoint &_endpoint, unsigned maxPacketSize, unsigned desiredPacketSize, unsigned subType)
BOOL OnSendingPDU (H245_AudioCapability &cap, unsigned packetSize) const
BOOL OnReceivedPDU (const H245_AudioCapability &cap, unsigned &packetSize)
PObject * Clone () const
H323CodecCreateCodec (H323Codec::Direction direction) const
PString GetFormatName () const
unsigned GetSubType () const

Protected Attributes

const OpalDLLCodecRecinfo
H323EndPointendpoint
unsigned subType

Constructor & Destructor Documentation

OpalDynaCodecStandardAudioCapability::OpalDynaCodecStandardAudioCapability const OpalDLLCodecRec _info,
H323EndPoint _endpoint,
unsigned  maxPacketSize,
unsigned  desiredPacketSize,
unsigned  subType
 

Parameters:
desiredPacketSize  Maximum size of an audio packet in frames
subType  Desired transmit size of an audio packet in frames


Member Function Documentation

PObject* OpalDynaCodecStandardAudioCapability::Clone  )  const
 

H323Codec* OpalDynaCodecStandardAudioCapability::CreateCodec H323Codec::Direction  direction  )  const [virtual]
 

Create the codec instance, allocating resources as required.

Implements H323Capability.

PString OpalDynaCodecStandardAudioCapability::GetFormatName  )  const [virtual]
 

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

Implements H323Capability.

unsigned OpalDynaCodecStandardAudioCapability::GetSubType  )  const [virtual]
 

Get the sub-type of the capability. This is a code dependent on the main type of the capability.

Implements H323Capability.

BOOL OpalDynaCodecStandardAudioCapability::OnReceivedPDU const H245_AudioCapability cap,
unsigned &  packetSize
[virtual]
 

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 assumes the pdu is an integer number of frames per packet.

Reimplemented from H323AudioCapability.

BOOL OpalDynaCodecStandardAudioCapability::OnSendingPDU H245_AudioCapability cap,
unsigned  packetSize
const [virtual]
 

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 assumes the pdu is an integer number of frames per packet.

Reimplemented from H323AudioCapability.


Member Data Documentation

H323EndPoint& OpalDynaCodecStandardAudioCapability::endpoint [protected]
 

const OpalDLLCodecRec& OpalDynaCodecStandardAudioCapability::info [protected]
 

unsigned OpalDynaCodecStandardAudioCapability::subType [protected]
 


The documentation for this class was generated from the following file:
Generated on Thu Jun 15 16:32:10 2006 for OpenH323 by  doxygen 1.4.2