Abstract base class for full duplex UDP RTP streaming. More...
#include <rtp.h>
Inherits: RTPReceiver, RTSSendThread
This abstract class implements the basic support needed for full duplex realtime streaming using two service threads.
Start both the sender and receiver service threads.
Create and bind an RTP receiver to an internet interface address and known port number for the purpose of receiving RTP.
pri | of service threads relative to parent. |
session | id for sending under. |
port | address to bind the service under. |
bind | address to bind this socket to. |
Update the time stamp for the next sent packet from the service thread.
current | sending timeout. void RTSUpdate(timeout_t timer) {Skip();}; /** Write data from the service thread to the RTP socket. |
address | buffer to write. |
len | of bytes to write in addition to the header. |
Complex setTimeout must set both sender and receiver.
session | time window in milliseconds. |
| Kdoc |