#include <rtp.h>
Inheritance diagram for RTP_UDP:

Public Member Functions | |
| virtual BOOL | ModifyQOS (RTP_QOS *rtpqos) |
| virtual void | Reopen (BOOL isReading) |
Construction | |
| RTP_UDP (unsigned id) | |
| ~RTP_UDP () | |
| Destroy the RTP. | |
Overrides from class RTP_Session | |
| virtual BOOL | ReadData (RTP_DataFrame &frame) |
| virtual BOOL | WriteData (RTP_DataFrame &frame) |
| virtual BOOL | WriteControl (RTP_ControlFrame &frame) |
| virtual void | Close (BOOL reading) |
| virtual PString | GetLocalHostName () |
New functions for class | |
| BOOL | Open (PIPSocket::Address localAddress, WORD portBase, WORD portMax, BYTE ipTypeOfService, PSTUNClient *stun=NULL, RTP_QOS *rtpqos=NULL) |
Member variable access | |
| PIPSocket::Address | GetLocalAddress () const |
| void | SetLocalAddress (const PIPSocket::Address &addr) |
| PIPSocket::Address | GetRemoteAddress () const |
| WORD | GetLocalDataPort () const |
| WORD | GetLocalControlPort () const |
| WORD | GetRemoteDataPort () const |
| WORD | GetRemoteControlPort () const |
| PUDPSocket & | GetDataSocket () |
| PUDPSocket & | GetControlSocket () |
| BOOL | SetRemoteSocketInfo (PIPSocket::Address address, WORD port, BOOL isDataPort) |
| void | ApplyQOS (const PIPSocket::Address &addr) |
Protected Member Functions | |
| SendReceiveStatus | ReadDataPDU (RTP_DataFrame &frame) |
| SendReceiveStatus | ReadControlPDU () |
| SendReceiveStatus | ReadDataOrControlPDU (PUDPSocket &socket, PBYTEArray &frame, BOOL fromDataChannel) |
Protected Attributes | |
| PIPSocket::Address | localAddress |
| WORD | localDataPort |
| WORD | localControlPort |
| PIPSocket::Address | remoteAddress |
| WORD | remoteDataPort |
| WORD | remoteControlPort |
| PIPSocket::Address | remoteTransmitAddress |
| BOOL | shutdownRead |
| BOOL | shutdownWrite |
| PUDPSocket * | dataSocket |
| PUDPSocket * | controlSocket |
| BOOL | appliedQOS |
|
|
Create a new RTP channel.
|
|
|
Destroy the RTP.
|
|
|
Apply QOS - requires address to connect the socket on Windows platforms |
|
|
Close down the RTP session.
Implements RTP_Session. |
|
|
Get control UDP socket of session. |
|
|
Get data UDP socket of session. |
|
|
Get local address of session. |
|
|
Get local control port of session. |
|
|
Get local data port of session. |
|
|
Get the session description name. Implements RTP_Session. |
|
|
Get remote address of session. |
|
|
Get remote control port of session. |
|
|
Get remote data port of session. |
|
|
Change the QoS settings Reimplemented from RTP_Session. |
|
||||||||||||||||||||||||||||
|
Open the UDP ports for the RTP session.
|
|
|
|
|
|
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. Implements RTP_Session. |
|
||||||||||||||||
|
|
|
|
|
|
|
Reopens an existing session in the given direction. Implements RTP_Session. |
|
|
Set local address of session. |
|
||||||||||||||||
|
Set the remote address and port information for session.
|
|
|
Write a control frame from the RTP channel. Implements RTP_Session. |
|
|
Write a data frame from the RTP channel. Implements RTP_Session. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.2