#include <cetonrtp.h>
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 |
Definition at line 30 of file cetonrtp.h.
| CetonRTP::CetonRTP | ( | const QString & | ip, | |
| uint | tuner, | |||
| ushort | listenPort = 0, |
|||
| ushort | controlPort = 8554 | |||
| ) | [explicit] |
Definition at line 27 of file cetonrtp.cpp.
| 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().
QString CetonRTP::_ip [private] |
Definition at line 49 of file cetonrtp.h.
uint CetonRTP::_tuner [private] |
Definition at line 50 of file cetonrtp.h.
uint CetonRTP::_listenPort [private] |
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().
CetonRTSP CetonRTP::_rtsp [private] |
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().
int CetonRTP::_lastSequenceNumber [private] |
Definition at line 63 of file cetonrtp.h.
Referenced by ProcessIncomingData().
1.6.3