2014-11-14 21:28:27 +01:00
|
|
|
/*
|
|
|
|
* rtcp.h: SAT>IP plugin for the Video Disk Recorder
|
|
|
|
*
|
|
|
|
* See the README file for copyright information and how to reach the author.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __SATIP_RTCP_H_
|
|
|
|
#define __SATIP_RTCP_H_
|
|
|
|
|
|
|
|
#include "socket.h"
|
|
|
|
#include "tunerif.h"
|
|
|
|
#include "pollerif.h"
|
|
|
|
|
2014-11-16 14:38:23 +01:00
|
|
|
class cSatipRtcp : public cSatipSocket, public cSatipPollerIf {
|
2014-11-14 21:28:27 +01:00
|
|
|
private:
|
2014-12-13 22:15:58 +01:00
|
|
|
enum {
|
|
|
|
eApplicationMaxSizeB = 1500,
|
|
|
|
};
|
2014-11-16 16:02:30 +01:00
|
|
|
cSatipTunerIf &tunerM;
|
2014-11-14 21:28:27 +01:00
|
|
|
unsigned int bufferLenM;
|
|
|
|
unsigned char *bufferM;
|
2018-10-21 12:35:48 +02:00
|
|
|
int GetApplicationOffset(unsigned char *bufferP, int *lengthP);
|
2014-11-14 21:28:27 +01:00
|
|
|
|
|
|
|
public:
|
2015-08-16 00:38:03 +02:00
|
|
|
explicit cSatipRtcp(cSatipTunerIf &tunerP);
|
2014-11-14 21:28:27 +01:00
|
|
|
virtual ~cSatipRtcp();
|
2014-11-16 15:56:59 +01:00
|
|
|
|
|
|
|
// for internal poller interface
|
|
|
|
public:
|
|
|
|
virtual int GetFd(void);
|
2014-11-25 21:04:34 +01:00
|
|
|
virtual void Process(void);
|
2016-12-15 07:49:47 +01:00
|
|
|
virtual void Process(unsigned char *dataP, int lengthP);
|
2014-11-29 13:44:30 +01:00
|
|
|
virtual cString ToString(void) const;
|
2014-11-14 21:28:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __SATIP_RTCP_H_ */
|