RTPReceiver Class Reference

[ARTS Index] [ARTS Heirarchy]


Abstract base class for UDP RTP reception. More...

#include <rtp.h>

Inherits: RTPSocket, RTSRecvThread

Public Members

Protected Members


Detailed Description

This abstract class implements the basic support needed for a RTP packet reception using UDP packets. The receiver is uni-directional and can be used to receive real-time streaming broadcasts.


RTPReceiver(InetAddress &bind, short port, int pri)

Create and bind an RTP receiver to an internet interface address and known port number for the purpose of receiving RTP.

Parameters:
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.

ssize_t RTSRecv(unsigned char *buf, unsigned short *seq, unsigned long *stamp)

Read data from the service thread to the RTP socket.

Parameters:
seq number of current packet.
timestamp of current packet.
address buffer to write.
Returns:
number of bytes read on success, -1 on failure.

  • Author: David Sugar <dyfet@ostel.com>.
  • Documentation generated by dyfet@home.tycho.com on Fri Jul 2 11:43:56 EDT 1999
Kdoc