#include <dynacodec.h>
Public Member Functions | |
OpalDynaCodecStandardVideoCapability (const OpalDLLCodecRec &_info, H323EndPoint &_endpoint, unsigned subType) | |
BOOL | OnSendingPDU (H245_VideoCapability &pdu) const |
BOOL | OnSendingPDU (H245_VideoMode &pdu) const |
BOOL | OnReceivedPDU (const H245_VideoCapability &pdu) |
PObject * | Clone () const |
H323Codec * | CreateCodec (H323Codec::Direction direction) const |
PString | GetFormatName () const |
unsigned | GetSubType () const |
Protected Attributes | |
const OpalDLLCodecRec & | info |
H323EndPoint & | endpoint |
unsigned | subType |
OpalDynaCodecStandardVideoCapability::OpalDynaCodecStandardVideoCapability | ( | const OpalDLLCodecRec & | _info, | |
H323EndPoint & | _endpoint, | |||
unsigned | subType | |||
) |
BOOL OpalDynaCodecStandardVideoCapability::OnSendingPDU | ( | H245_VideoCapability & | pdu | ) | 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 is pure.
Implements H323VideoCapability.
BOOL OpalDynaCodecStandardVideoCapability::OnSendingPDU | ( | H245_VideoMode & | pdu | ) | const [virtual] |
This function is called whenever and outgoing RequestMode 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 PDUs tag according to the GetSubType() function (translated to different enum).
Implements H323VideoCapability.
BOOL OpalDynaCodecStandardVideoCapability::OnReceivedPDU | ( | const H245_VideoCapability & | pdu | ) | [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 is pure.
Implements H323VideoCapability.
PObject* OpalDynaCodecStandardVideoCapability::Clone | ( | ) | const |
H323Codec* OpalDynaCodecStandardVideoCapability::CreateCodec | ( | H323Codec::Direction | direction | ) | const [virtual] |
Create the codec instance, allocating resources as required.
Implements H323Capability.
PString OpalDynaCodecStandardVideoCapability::GetFormatName | ( | ) | const [virtual] |
Get the name of the media data format this class represents.
Implements H323Capability.
unsigned OpalDynaCodecStandardVideoCapability::GetSubType | ( | ) | const [virtual] |
Get the sub-type of the capability. This is a code dependent on the main type of the capability.
Implements H323Capability.
const OpalDLLCodecRec& OpalDynaCodecStandardVideoCapability::info [protected] |
unsigned OpalDynaCodecStandardVideoCapability::subType [protected] |