This class describes the interface to an audio codec used to transfer data via the logical channels opened and managed by the H323 control channel.
Overrides from class PObject
Member variable access
This class describes the interface to an audio codec used to transfer data via the logical channels opened and managed by the H323 control channel.An application may create a descendent off this class and override functions as required for descibing the codec.
The default behaviour returns zero, indicating it is not an RTP based capability.
This will also be the desired number that will be sent by most codec
implemetations. The default behaviour sets the txFramesInPacket variable.
The default behaviour sends the txFramesInPacket variable.
The default behaviour sends the rxFramesInPacket variable.
virtual void SetTxFramesInPacket( unsigned frames )
virtual unsigned GetTxFramesInPacket() const
virtual unsigned GetRxFramesInPacket() const
The default behaviour calls the OnSendingPDU() function with a more specific PDU type.
The default behaviour calls the OnSendingPDU() function with a more
specific PDU type.
The default behaviour assumes the pdu is an integer number of frames
per packet.
If the function returns FALSE then the received PDU codec description
is not supported, so will be ignored. The default behaviour calls the OnReceivedPDU() that takes a
H245_AudioCapability and clamps the txFramesInPacket.
The default behaviour calls the OnReceivedPDU() that takes a
H245_AudioCapability and clamps the txFramesInPacket or
rxFramesInPacket.
The default behaviour assumes the pdu is an integer number of frames
per packet.
virtual BOOL OnSendingPDU( H245_DataType & pdu ) const
virtual BOOL OnSendingPDU( H245_AudioCapability & pdu, unsigned packetSize ) const
packetSize - Packet size to use in capabilityvirtual BOOL OnReceivedPDU( const H245_Capability & pdu )
virtual BOOL OnReceivedPDU( const H245_DataType & pdu, BOOL receiver )
receiver - Is receiver OLCvirtual BOOL OnReceivedPDU( const H245_AudioCapability & pdu, unsigned & packetSize )
packetSize - Packet size to use in capability
Alphabetic index HTML hierarchy of classes or Java