CetonRTP Class Reference

#include <cetonrtp.h>

List of all members.

Public Member Functions

 CetonRTP (const QString &ip, uint tuner, ushort listenPort=0, ushort controlPort=8554)
bool Init (void)
bool StartStreaming (void)
bool StopStreaming (void)
int Read (char *buffer, int bufferSize)

Private Member Functions

void ProcessIncomingData (void)
bool FindRTPPayload (char *packet, char *&payload, int &payloadSize, int &sequenceNumber)

Private Attributes

QString _ip
uint _tuner
uint _listenPort
QUdpSocket _rtpSocket
QUdpSocket _dummySocket
QHostAddress _acceptFrom
CetonRTSP _rtsp
QByteArray _readBuffer
QByteArray _mpegBuffer
int _lastRead
int _thisRead
int _lastSequenceNumber

Detailed Description

Definition at line 30 of file cetonrtp.h.


Constructor & Destructor Documentation

CetonRTP::CetonRTP ( const QString &  ip,
uint  tuner,
ushort  listenPort = 0,
ushort  controlPort = 8554 
) [explicit]

Definition at line 27 of file cetonrtp.cpp.


Member Function Documentation

bool CetonRTP::Init ( void   ) 

Definition at line 41 of file cetonrtp.cpp.

Referenced by CetonStreamHandler::run().

bool CetonRTP::StartStreaming ( void   ) 

Definition at line 94 of file cetonrtp.cpp.

Referenced by CetonStreamHandler::run().

bool CetonRTP::StopStreaming ( void   ) 

Definition at line 101 of file cetonrtp.cpp.

Referenced by CetonStreamHandler::run().

int CetonRTP::Read ( char *  buffer,
int  bufferSize 
)

Definition at line 106 of file cetonrtp.cpp.

Referenced by CetonStreamHandler::run().

void CetonRTP::ProcessIncomingData ( void   )  [private]

Definition at line 120 of file cetonrtp.cpp.

Referenced by Read().

bool CetonRTP::FindRTPPayload ( char *  packet,
char *&  payload,
int &  payloadSize,
int &  sequenceNumber 
) [private]

Definition at line 191 of file cetonrtp.cpp.

Referenced by ProcessIncomingData().


Member Data Documentation

QString CetonRTP::_ip [private]

Definition at line 49 of file cetonrtp.h.

Definition at line 50 of file cetonrtp.h.

Definition at line 51 of file cetonrtp.h.

Referenced by Init().

QUdpSocket CetonRTP::_rtpSocket [private]

Definition at line 53 of file cetonrtp.h.

Referenced by Init(), ProcessIncomingData(), and StartStreaming().

QUdpSocket CetonRTP::_dummySocket [private]

Definition at line 54 of file cetonrtp.h.

Referenced by Init(), and StartStreaming().

QHostAddress CetonRTP::_acceptFrom [private]

Definition at line 55 of file cetonrtp.h.

Referenced by ProcessIncomingData().

Definition at line 56 of file cetonrtp.h.

Referenced by Init(), StartStreaming(), and StopStreaming().

QByteArray CetonRTP::_readBuffer [private]

Definition at line 58 of file cetonrtp.h.

Referenced by ProcessIncomingData().

QByteArray CetonRTP::_mpegBuffer [private]

Definition at line 59 of file cetonrtp.h.

Referenced by ProcessIncomingData(), and Read().

int CetonRTP::_lastRead [private]

Definition at line 61 of file cetonrtp.h.

Referenced by ProcessIncomingData().

int CetonRTP::_thisRead [private]

Definition at line 62 of file cetonrtp.h.

Referenced by ProcessIncomingData().

Definition at line 63 of file cetonrtp.h.

Referenced by ProcessIncomingData().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Thu May 24 06:41:52 2012 for MythTV by  doxygen 1.6.3