#include <channels.h>
Inheritance diagram for H323_RTPChannel:
Public Member Functions | |
void | AddFilter (const PNotifier &filterFunction) |
void | RemoveFilter (const PNotifier &filterFunction) |
PTimeInterval | GetSilenceDuration () const |
Construction | |
H323_RTPChannel (H323Connection &connection, const H323Capability &capability, Directions direction, RTP_Session &rtp) | |
~H323_RTPChannel () | |
Destroy the channel. | |
Overrides from class H323Channel | |
virtual void | CleanUpOnTermination () |
virtual unsigned | GetSessionID () const |
virtual BOOL | Open () |
virtual void | Receive () |
virtual void | Transmit () |
Overrides from class H323_RealTimeChannel | |
virtual BOOL | OnSendingPDU (H245_H2250LogicalChannelParameters ¶m) const |
virtual void | OnSendOpenAck (H245_H2250LogicalChannelAckParameters ¶m) const |
virtual BOOL | OnReceivedPDU (const H245_H2250LogicalChannelParameters ¶m, unsigned &errorCode) |
virtual BOOL | OnReceivedAckPDU (const H245_H2250LogicalChannelAckParameters ¶m) |
Protected Member Functions | |
PLIST (FilterList, PNotifier) | |
Protected Attributes | |
RTP_Session & | rtpSession |
H323_RTP_Session & | rtpCallbacks |
FilterList | filters |
PMutex | filterMutex |
PTimeInterval | silenceStartTick |
|
Create a new channel.
|
|
Destroy the channel.
|
|
|
|
This is called to clean up any threads on connection termination. Reimplemented from H323Channel. |
|
Indicate the session number of the channel. Return session for channel. This returns the session ID of the RTP_Session member variable. Reimplemented from H323Channel. |
|
|
|
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.
Implements H323_RealTimeChannel. |
|
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.
Implements H323_RealTimeChannel. |
|
Fill out the OpenLogicalChannel PDU for the particular channel type.
Implements H323_RealTimeChannel. |
|
This is called when request to create a channel is received from a remote machine and is about to be acknowledged.
Implements H323_RealTimeChannel. |
|
Open the channel. Reimplemented from H323Channel. |
|
|
|
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). Implements H323Channel. |
|
|
|
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). Implements H323Channel. |
|
|
|
|
|
|
|
|
|
|