OPAL  Version 3.10.10
OpalH224Handler Class Reference

#include <h224handler.h>

Inheritance diagram for OpalH224Handler:

Public Types

enum  {
  Broadcast = 0x0000, CMEClientListCode = 0x01, CMEExtraCapabilitiesCode = 0x02, CMEMessage = 0x00,
  CMECommand = 0xff, CountryCodeEscape = 0xff
}
 

Public Member Functions

 OpalH224Handler ()
 
 ~OpalH224Handler ()
 
PBoolean AddClient (OpalH224Client &client)
 
PBoolean RemoveClient (OpalH224Client &client)
 
void SetTransmitMediaFormat (const OpalMediaFormat &mediaFormat)
 
void SetReceiveMediaFormat (const OpalMediaFormat &mediaFormat)
 
void SetTransmitMediaStream (OpalH224MediaStream *transmitMediaStream)
 
virtual void StartTransmit ()
 
virtual void StopTransmit ()
 
PBoolean SendClientList ()
 
PBoolean SendExtraCapabilities ()
 
PBoolean SendClientListCommand ()
 
PBoolean SendExtraCapabilitiesCommand (const OpalH224Client &client)
 
PBoolean SendExtraCapabilitiesMessage (const OpalH224Client &client, BYTE *data, PINDEX length)
 
PBoolean TransmitClientFrame (const OpalH224Client &client, H224_Frame &frame)
 
PBoolean HandleFrame (const RTP_DataFrame &rtpFrame)
 
virtual PBoolean OnReceivedFrame (H224_Frame &frame)
 
virtual PBoolean OnReceivedCMEMessage (H224_Frame &frame)
 
virtual PBoolean OnReceivedClientList (H224_Frame &frame)
 
virtual PBoolean OnReceivedClientListCommand ()
 
virtual PBoolean OnReceivedExtraCapabilities (H224_Frame &frame)
 
virtual PBoolean OnReceivedExtraCapabilitiesCommand ()
 
PMutex & GetTransmitMutex ()
 

Protected Attributes

PMutex transmitMutex
 
PBoolean canTransmit
 
RTP_DataFrame transmitFrame
 
BYTE transmitBitIndex
 
PTime * transmitStartTime
 
OpalH224MediaStreamtransmitMediaStream
 
H224_Frame receiveFrame
 
OpalH224ClientList clients
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Broadcast 
CMEClientListCode 
CMEExtraCapabilitiesCode 
CMEMessage 
CMECommand 
CountryCodeEscape 

Constructor & Destructor Documentation

◆ OpalH224Handler()

OpalH224Handler::OpalH224Handler ( )

◆ ~OpalH224Handler()

OpalH224Handler::~OpalH224Handler ( )

Member Function Documentation

◆ AddClient()

PBoolean OpalH224Handler::AddClient ( OpalH224Client client)

Adds / removes the client from the client list

◆ GetTransmitMutex()

PMutex& OpalH224Handler::GetTransmitMutex ( )
inline

◆ HandleFrame()

PBoolean OpalH224Handler::HandleFrame ( const RTP_DataFrame rtpFrame)

◆ OnReceivedClientList()

virtual PBoolean OpalH224Handler::OnReceivedClientList ( H224_Frame frame)
virtual

◆ OnReceivedClientListCommand()

virtual PBoolean OpalH224Handler::OnReceivedClientListCommand ( )
virtual

◆ OnReceivedCMEMessage()

virtual PBoolean OpalH224Handler::OnReceivedCMEMessage ( H224_Frame frame)
virtual

◆ OnReceivedExtraCapabilities()

virtual PBoolean OpalH224Handler::OnReceivedExtraCapabilities ( H224_Frame frame)
virtual

◆ OnReceivedExtraCapabilitiesCommand()

virtual PBoolean OpalH224Handler::OnReceivedExtraCapabilitiesCommand ( )
virtual

◆ OnReceivedFrame()

virtual PBoolean OpalH224Handler::OnReceivedFrame ( H224_Frame frame)
virtual

◆ RemoveClient()

PBoolean OpalH224Handler::RemoveClient ( OpalH224Client client)

◆ SendClientList()

PBoolean OpalH224Handler::SendClientList ( )

Sends the complete client list with all clients registered

◆ SendClientListCommand()

PBoolean OpalH224Handler::SendClientListCommand ( )

Requests the remote side to send it's client list

◆ SendExtraCapabilities()

PBoolean OpalH224Handler::SendExtraCapabilities ( )

Sends the extra capabilities for all clients that indicate to have extra capabilities.

◆ SendExtraCapabilitiesCommand()

PBoolean OpalH224Handler::SendExtraCapabilitiesCommand ( const OpalH224Client client)

Request the remote side to send the extra capabilities for the given client

◆ SendExtraCapabilitiesMessage()

PBoolean OpalH224Handler::SendExtraCapabilitiesMessage ( const OpalH224Client client,
BYTE *  data,
PINDEX  length 
)

Callback for H.224 clients to send their extra capabilities

◆ SetReceiveMediaFormat()

void OpalH224Handler::SetReceiveMediaFormat ( const OpalMediaFormat mediaFormat)

◆ SetTransmitMediaFormat()

void OpalH224Handler::SetTransmitMediaFormat ( const OpalMediaFormat mediaFormat)

Sets the transmit / receive media format

◆ SetTransmitMediaStream()

void OpalH224Handler::SetTransmitMediaStream ( OpalH224MediaStream transmitMediaStream)

Sets / unsets the transmit H224 media stream

◆ StartTransmit()

virtual void OpalH224Handler::StartTransmit ( )
virtual

◆ StopTransmit()

virtual void OpalH224Handler::StopTransmit ( )
virtual

◆ TransmitClientFrame()

PBoolean OpalH224Handler::TransmitClientFrame ( const OpalH224Client client,
H224_Frame frame 
)

Callback for H.224 clients to send a client frame

Field Documentation

◆ canTransmit

PBoolean OpalH224Handler::canTransmit
protected

◆ clients

OpalH224ClientList OpalH224Handler::clients
protected

◆ receiveFrame

H224_Frame OpalH224Handler::receiveFrame
protected

◆ transmitBitIndex

BYTE OpalH224Handler::transmitBitIndex
protected

◆ transmitFrame

RTP_DataFrame OpalH224Handler::transmitFrame
protected

◆ transmitMediaStream

OpalH224MediaStream* OpalH224Handler::transmitMediaStream
protected

◆ transmitMutex

PMutex OpalH224Handler::transmitMutex
protected

◆ transmitStartTime

PTime* OpalH224Handler::transmitStartTime
protected

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