This class describes a logical channel between the two endpoints.
This class describes a logical channel between the two endpoints. They may be created and deleted as required in the H245 protocol.An application may create a descendent off this class and override functions as required for operating the channel protocol.
~H323Channel()
The default behaviour gets the bandwidth requirement from the codec
object created by the channel.
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).
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).
The default behaviour does nothing.
The default behaviour just returns TRUE.
The default behaviour just returns TRUE.
Note that channel is not stopped, and may continue to actually receive
data, it is just that nothing is done with it.
Note that channel is not stopped, and may continue to actually receive
data, it is just that nothing is done with it.
Operations
virtual Directions GetDirection() const
virtual unsigned GetSessionID() const
virtual BOOL SetInitialBandwidth()
virtual BOOL Open()
virtual BOOL Start()
virtual void CleanUpOnTermination()
BOOL IsRunning() const
virtual void Receive()
virtual void Transmit()
virtual BOOL OnSendingPDU( H245_OpenLogicalChannel & openPDU ) const
virtual void OnSendOpenAck( const H245_OpenLogicalChannel & open, H245_OpenLogicalChannelAck & ack ) const
ack - Acknowledgement PDUvirtual BOOL OnReceivedPDU( const H245_OpenLogicalChannel & pdu, unsigned & errorCode )
errorCode - Error code on failurevirtual BOOL OnReceivedAckPDU( const H245_OpenLogicalChannelAck & pdu )
virtual void OnFlowControl( long bitRateRestriction )
virtual void OnMiscellaneousCommand( const H245_MiscellaneousCommand_type & type )
virtual void OnMiscellaneousIndication( const H245_MiscellaneousIndication_type & type )
virtual void OnJitterIndication( DWORD jitter, int skippedFrameCount, int additionalBuffer )
skippedFrameCount - Frames skipped by decodec
additionalBuffer - Additional size of video decoder buffer Member variable access
const H323ChannelNumber& GetNumber() const
void SetNumber(const H323ChannelNumber & num)
const H323ChannelNumber& GetReverseChannel() const
void SetReverseChannel(const H323ChannelNumber & num)
unsigned GetBandwidthUsed() const
BOOL SetBandwidthUsed( unsigned bandwidth )
const H323Capability& GetCapability() const
H323Codec* GetCodec() const
BOOL IsPaused() const
void SetPause( BOOL pause )
Alphabetic index HTML hierarchy of classes or Java