class RTP_UDP

This class is for the IETF Real Time Protocol interface on UDP/IP

Inheritance:


Public Methods

[more] Construction
[more] Overrides from class RTP_Session
[more]virtual BOOL ModifyQOS (RTP_QOS* rtpqos)
Change the QoS settings
[more] New functions for class
[more]void Reopen (BOOL isReading)
Reopens an existing session in the given direction


Inherited from RTP_Session:

Public Methods

Operations

Member variable access


Documentation

This class is for the IETF Real Time Protocol interface on UDP/IP
o Construction

o RTP_UDP( unsigned id )
Create a new RTP channel.
Parameters:
id - Session ID for RTP channel

o ~RTP_UDP()
Destroy the RTP

o Overrides from class RTP_Session

ovirtual BOOL ReadData(RTP_DataFrame & frame)
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.

ovirtual BOOL WriteData(RTP_DataFrame & frame)
Write a data frame from the RTP channel

ovirtual BOOL WriteControl(RTP_ControlFrame & frame)
Write a control frame from the RTP channel

ovirtual void Close( BOOL reading )
Close down the RTP session.
Parameters:
reading - Closing the read side of the session

ovirtual PString GetLocalHostName()
Get the session description name

ovirtual BOOL ModifyQOS(RTP_QOS* rtpqos)
Change the QoS settings

o New functions for class

oBOOL Open( PIPSocket::Address localAddress, WORD portBase, WORD portMax, BYTE ipTypeOfService, PSTUNClient* stun = NULL, RTP_QOS* rtpqos = NULL )
Open the UDP ports for the RTP session.
Parameters:
localAddress - Local interface to bind to
portBase - Base of ports to search
portMax - end of ports to search (inclusive)
ipTypeOfService - Type of Service byte
stun - STUN server to use createing sockets (or NULL if no STUN)
rtpqos - QOS spec (or NULL if no QoS)

ovoid Reopen(BOOL isReading)
Reopens an existing session in the given direction


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



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