OPAL
Version 3.14.3
|
#include <h323caps.h>
Public Member Functions | |
Construction | |
H323GenericControlCapability (const PString &identifier) | |
Identification functions | |
virtual MainTypes | GetMainType () const |
virtual unsigned | GetSubType () const |
Protocol manipulation | |
virtual PBoolean | OnSendingPDU (H245_Capability &pdu) const |
virtual PBoolean | OnReceivedPDU (const H245_Capability &pdu) |
virtual PBoolean | IsMatch (const PASN_Object &subTypePDU, const PString &mediaPacketization) const |
![]() | |
H323Capability () | |
H323Capability (const H323Capability &other) | |
H323Capability & | operator= (const H323Capability &other) |
~H323Capability () | |
Comparison | Compare (const PObject &obj) const |
void | PrintOn (ostream &strm) const |
virtual PString | GetFormatName () const =0 |
virtual unsigned | GetDefaultSessionID () const |
virtual void | SetTxFramesInPacket (unsigned frames) |
virtual unsigned | GetTxFramesInPacket () const |
virtual unsigned | GetRxFramesInPacket () const |
virtual H323Channel * | CreateChannel (H323Connection &connection, H323Channel::Directions dir, unsigned sessionID, const H245_H2250LogicalChannelParameters *param) const |
virtual PBoolean | OnSendingPDU (H245_DataType &pdu) const |
virtual PBoolean | OnSendingPDU (H245_ModeElement &pdu) const |
virtual PBoolean | OnReceivedPDU (const H245_DataType &pdu, PBoolean receiver) |
virtual PBoolean | IsUsable (const H323Connection &connection) const |
CapabilityDirection | GetCapabilityDirection () const |
void | SetCapabilityDirection (CapabilityDirection dir) |
unsigned | GetCapabilityNumber () const |
Get unique capability number. More... | |
void | SetCapabilityNumber (unsigned num) |
Set unique capability number. More... | |
OpalMediaFormat | GetMediaFormat () const |
bool | UpdateMediaFormat (const OpalMediaFormat &format) |
RTP_DataFrame::PayloadTypes | GetPayloadType () const |
Get the payload type for the capaibility. More... | |
void | SetPayloadType (RTP_DataFrame::PayloadTypes pt) |
Set the payload type for the capaibility. More... | |
![]() | |
H323GenericCapabilityInfo (const PString &id, unsigned maxBitRate, bool fixedBitRate) | |
virtual | ~H323GenericCapabilityInfo () |
This class describes a generic control capability, as used in H.239
H323GenericControlCapability::H323GenericControlCapability | ( | const PString & | identifier | ) |
Create a new data capability.
identifier | Indentifer (OID) for generic control |
|
virtual |
Get the main type of the capability. Always returns e_Data.
Implements H323Capability.
|
virtual |
Get the sub-type of the capability. This is a code dependent on the main type of the capability.
This returns H245_VideoCapability::e_extendedVideoCapability.
Implements H323Capability.
|
virtual |
Compare the generic part of the capability, if applicable.
subTypePDU | sub-type PDU of H323Capability |
mediaPacketization | Media packetization used |
Reimplemented from H323Capability.
|
virtual |
This function is called whenever and incoming TerminalCapabilitySet PDU is received on the control channel, and a new H323Capability descendent was created. This completes reading fields from the PDU into the classes members.
If the function returns false then the received PDU codec description is not supported, so will be ignored. The default behaviour simply returns true.
pdu | PDU to get information from |
Reimplemented from H323Capability.
|
virtual |
This function is called whenever and outgoing TerminalCapabilitySet 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 calls the OnSendingPDU() function with a more specific PDU type.
pdu | PDU to set information on |
Implements H323Capability.