class H323_ExternalRTPChannel

This class is for encpsulating the IETF Real Time Protocol interface as used by a remote host

Inheritance:


Public Methods

[more] Construction
[more] Overrides from class H323Channel
[more] Overrides from class H323_RealTimeChannel


Inherited from H323_RealTimeChannel:

Public Methods

Operations


Inherited from H323UnidirectionalChannel:


Inherited from H323Channel:

Public Methods

Member variable access


Documentation

This class is for encpsulating the IETF Real Time Protocol interface as used by a remote host
o Construction

o H323_ExternalRTPChannel( H323Connection & connection, const H323Capability & capability, Directions direction, unsigned sessionID )
Create a new channel.
Parameters:
connection - Connection to endpoint for channel
capability - Capability channel is using
direction - Direction of channel
sessionID - Session ID for channel

o H323_ExternalRTPChannel( H323Connection & connection, const H323Capability & capability, Directions direction, unsigned sessionID, const H323TransportAddress & data, const H323TransportAddress & control )
Create a new channel.
Parameters:
connection - Connection to endpoint for channel
capability - Capability channel is using
direction - Direction of channel
sessionID - Session ID for channel
data - Data address
control - Control address

o H323_ExternalRTPChannel( H323Connection & connection, const H323Capability & capability, Directions direction, unsigned sessionID, const PIPSocket::Address & ip, WORD dataPort )
Create a new channel.
Parameters:
connection - Connection to endpoint for channel
capability - Capability channel is using
direction - Direction of channel
sessionID - Session ID for channel
ip - IP address of media server
dataPort - Data port (control is dataPort+1)

o Overrides from class H323Channel

ovirtual unsigned GetSessionID() const
Indicate the session number of the channel. Return session for channel. This returns the session ID of the RTP_Session member variable.

ovirtual BOOL Start()
Start the channel

ovirtual BOOL IsRunning() const
Indicate if is started

ovirtual void Receive()
Handle channel data reception.

This is called by the thread started by the Start() function and is typically a loop writing to the codec and reading from the transport (eg RTP_session).

ovirtual void Transmit()
Handle channel data transmission.

This is called by the thread started by the Start() function and is typically a loop reading from the codec and writing to the transport (eg an RTP_session).

o Overrides from class H323_RealTimeChannel

ovirtual BOOL OnSendingPDU( H245_H2250LogicalChannelParameters & param ) const
Fill out the OpenLogicalChannel PDU for the particular channel type.
Parameters:
param - Open PDU to send.

ovirtual void OnSendOpenAck( H245_H2250LogicalChannelAckParameters & param ) const
This is called when request to create a channel is received from a remote machine and is about to be acknowledged.
Parameters:
param - Acknowledgement PDU

ovirtual BOOL OnReceivedPDU( const H245_H2250LogicalChannelParameters & param, unsigned & errorCode )
This is called after a request to create a channel occurs from the local machine via the H245LogicalChannelDict::Open() function, and the request has been acknowledged by the remote endpoint.

The default behaviour sets the remote ports to send UDP packets to.

Parameters:
param - Acknowledgement PDU
errorCode - Error on failure

ovirtual BOOL OnReceivedAckPDU( const H245_H2250LogicalChannelAckParameters & param )
This is called after a request to create a channel occurs from the local machine via the H245LogicalChannelDict::Open() function, and the request has been acknowledged by the remote endpoint.

The default behaviour sets the remote ports to send UDP packets to.

Parameters:
param - Acknowledgement PDU


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.