H323RealTimeCapability Class Reference

`#include <h323caps.h>`

Inheritance diagram for H323RealTimeCapability:

## Operations

RTP_QOS * | rtpqos
virtual H323Channel * | CreateChannel (H323Connection &connection, H323Channel::Directions dir, unsigned sessionID, const H245_H2250LogicalChannelParameters *param) const
| H323RealTimeCapability ()
| H323RealTimeCapability (const H323RealTimeCapability &rtc)
virtual | ~H323RealTimeCapability ()
void | AttachQoS (RTP_QOS *_rtpqos)
| Attach a QoS specification to this channel. More...

## Additional Inherited Members

Public Types inherited from H323Capability
enum | MainTypes { e_Audio, e_Video, e_Data, e_UserInput, e_GenericControl, e_NumMainTypes }
enum | { DefaultAudioSessionID = 1, DefaultVideoSessionID = 2, DefaultDataSessionID = 3, DefaultH224SessionID = 4 }
enum | CommandType { e_TCS, e_OLC, e_ReqMode }
enum | CapabilityDirection { e_Unknown, e_Receive, e_Transmit, e_ReceiveAndTransmit, e_NoDirection, NumCapabilityDirections }
Public Member Functions inherited from H323Capability
| H323Capability ()
Comparison | Compare (const PObject &obj) const
void | PrintOn (ostream &strm) const
virtual MainTypes | GetMainType () const =0
virtual unsigned | GetSubType () const =0
virtual PString | GetFormatName () const =0
virtual unsigned | GetDefaultSessionID () const
virtual void | SetTxFramesInPacket (unsigned frames)
virtual unsigned | GetTxFramesInPacket () const
virtual unsigned | GetRxFramesInPacket () const
virtual PBoolean | OnSendingPDU (H245_Capability &pdu) const =0
virtual PBoolean | OnSendingPDU (H245_DataType &pdu) const
virtual PBoolean | OnSendingPDU (H245_ModeElement &pdu) const =0
virtual PBoolean | OnReceivedPDU (const H245_Capability &pdu)
virtual PBoolean | OnReceivedPDU (const H245_DataType &pdu, PBoolean receiver)
virtual PBoolean | IsMatch (const PASN_Choice &subTypePDU, const PString &mediaPacketization) const
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...
Static Public Member Functions inherited from H323Capability
static H323Capability * | Create (const PString &name)
Protected Member Functions inherited from H323Capability
OpalMediaFormat & | GetWritableMediaFormat () const
Protected Attributes inherited from H323Capability
unsigned | assignedCapabilityNumber
CapabilityDirection | capabilityDirection
| Unique ID assigned to capability. More...

## Detailed Description

This class describes the interface to a codec that has channels based on the RTP protocol.

An application may create a descendent off this class and override functions as required for descibing the codec.

## Constructor & Destructor Documentation

H323RealTimeCapability::H323RealTimeCapability | ( |  | ) |

H323RealTimeCapability::H323RealTimeCapability | ( | const H323RealTimeCapability & | rtc | ) |

virtual H323RealTimeCapability::~H323RealTimeCapability | ( |  | ) |

virtual

## Member Function Documentation

void H323RealTimeCapability::AttachQoS | ( | RTP_QOS * |  | ) |

virtual

Attach a QoS specification to this channel.

Reimplemented from H323Capability.

virtual H323Channel* H323RealTimeCapability::CreateChannel | ( | H323Connection & | connection,
|  | H323Channel::Directions | dir,
|  | unsigned | sessionID,
|  | const H245_H2250LogicalChannelParameters * | param
| ) |  | const

virtual

Create the channel instance, allocating resources as required.

Parameters

  connection | Owner connection for channel
  dir | Direction of channel
  sessionID | Session ID for RTP channel
  param | Parameters for channel

Implements H323Capability.

## Field Documentation

RTP_QOS* H323RealTimeCapability::rtpqos

protected

The documentation for this class was generated from the following file:

- h323caps.h