#include <t38proto.h>
Inheritance diagram for T38PseudoRTP:
Construction | |
BOOL | corrigendumASN |
int | consecutiveBadPackets |
PBYTEArray | lastIFP |
T38PseudoRTP (PHandleAggregator *aggregator, unsigned id, BOOL remoteIsNAT) | |
~T38PseudoRTP () | |
Destroy the RTP. | |
BOOL | ReadData (RTP_DataFrame &frame, BOOL loop) |
BOOL | WriteData (RTP_DataFrame &frame) |
RTP_Session::SendReceiveStatus | OnSendData (RTP_DataFrame &frame) |
RTP_Session::SendReceiveStatus | OnSendControl (RTP_ControlFrame &, PINDEX &) |
RTP_Session::SendReceiveStatus | ReadDataPDU (RTP_DataFrame &frame) |
RTP_Session::SendReceiveStatus | OnReceiveData (RTP_DataFrame &frame) |
BOOL | SetRemoteSocketInfo (PIPSocket::Address address, WORD port, BOOL isDataPort) |
int | WaitForPDU (PUDPSocket &dataSocket, PUDPSocket &controlSocket, const PTimeInterval &timeout) |
BOOL | OnTimeout (RTP_DataFrame &frame) |
T38PseudoRTP::T38PseudoRTP | ( | PHandleAggregator * | aggregator, | |
unsigned | id, | |||
BOOL | remoteIsNAT | |||
) |
Create a new RTP channel.
aggregator | RTP aggregator |
id | Session ID for RTP channel |
remoteIsNAT | TRUE is remote is behind NAT |
T38PseudoRTP::~T38PseudoRTP | ( | ) |
Destroy the RTP.
BOOL T38PseudoRTP::ReadData | ( | RTP_DataFrame & | frame, | |
BOOL | loop | |||
) | [virtual] |
Read a data frame from the RTP channel. Any control frames received are dispatched to callbacks and are not returned by this function. It will block until a data frame is available or an error occurs.
Reimplemented from RTP_UDP.
BOOL T38PseudoRTP::WriteData | ( | RTP_DataFrame & | frame | ) | [virtual] |
Write a data frame to the RTP channel.
Reimplemented from RTP_UDP.
RTP_Session::SendReceiveStatus T38PseudoRTP::OnSendData | ( | RTP_DataFrame & | frame | ) | [virtual] |
Reimplemented from RTP_Session.
RTP_Session::SendReceiveStatus T38PseudoRTP::OnSendControl | ( | RTP_ControlFrame & | , | |
PINDEX & | ||||
) | [virtual] |
Reimplemented from RTP_Session.
RTP_Session::SendReceiveStatus T38PseudoRTP::ReadDataPDU | ( | RTP_DataFrame & | frame | ) | [virtual] |
Reimplemented from RTP_UDP.
RTP_Session::SendReceiveStatus T38PseudoRTP::OnReceiveData | ( | RTP_DataFrame & | frame | ) | [virtual] |
Reimplemented from RTP_Session.
BOOL T38PseudoRTP::SetRemoteSocketInfo | ( | PIPSocket::Address | address, | |
WORD | port, | |||
BOOL | isDataPort | |||
) | [virtual] |
Set the remote address and port information for session.
Reimplemented from RTP_UDP.
int T38PseudoRTP::WaitForPDU | ( | PUDPSocket & | dataSocket, | |
PUDPSocket & | controlSocket, | |||
const PTimeInterval & | timeout | |||
) | [protected, virtual] |
Reimplemented from RTP_UDP.
BOOL T38PseudoRTP::OnTimeout | ( | RTP_DataFrame & | frame | ) | [protected] |
BOOL T38PseudoRTP::corrigendumASN [protected] |
int T38PseudoRTP::consecutiveBadPackets [protected] |
PBYTEArray T38PseudoRTP::lastIFP [protected] |