This class describes the interface to a non-standard audio codec used to transfer data via the logical channels opened and managed by the H323 control channel.
Operations
Member variable access
This class describes the interface to a non-standard 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.
H323NonStandardAudioCapability( unsigned maxPacketSize, unsigned desiredPacketSize, const PString & oid, const BYTE * dataBlock = NULL, PINDEX dataSize = 0, PINDEX comparisonOffset = 0, PINDEX comparisonLength = P_MAX_INDEX )
desiredPacketSize - Desired transmit size of an audio packet
oid - OID for indentification of codec
dataBlock - Non-Standard data for codec type
dataSize - Size of dataBlock
comparisonOffset - Offset into dataBlock to compare
comparisonLength - Length of bytes to compare H323NonStandardAudioCapability( unsigned maxPacketSize, unsigned desiredPacketSize, BYTE country, BYTE extension, WORD maufacturer, const BYTE * dataBlock = NULL, PINDEX dataSize = 0, PINDEX comparisonOffset = 0, PINDEX comparisonLength = P_MAX_INDEX )
desiredPacketSize - Desired transmit size of an audio packet
country - t35 information
extension - t35 information
maufacturer - t35 information
dataBlock - Non-Standard data for codec type
dataSize - Size of dataBlock
comparisonOffset - Offset into dataBlock to compare
comparisonLength - Length of bytes to compare
This returns H245_AudioCapability::e_nonStandard.
The default behaviour calls H323NonStandardCapabilityinfo::OnSendingPDU() to handle the PDU.
The default behaviour calls H323NonStandardCapabilityinfo::OnReceivedPDU()
to handle the provided PDU.
virtual BOOL OnReceivedPDU( const H245_AudioCapability & pdu, unsigned & packetSize )
packetSize - Packet size to use in capabilityvirtual BOOL IsNonStandardMatch( const H245_NonStandardParameter & param ) const
Alphabetic index HTML hierarchy of classes or Java