/* * streamer.h: IPTV plugin for the Video Disk Recorder * * See the README file for copyright information and how to reach the author. * * $Id: streamer.h,v 1.9 2007/10/07 22:54:09 rahrenbe Exp $ */ #ifndef __IPTV_STREAMER_H #define __IPTV_STREAMER_H #include #include #include #include "protocolif.h" #include "statistics.h" class cIptvStreamer : public cThread, public cIptvStreamerStatistics { private: cRingBufferLinear* ringBuffer; cMutex* mutex; unsigned char* readBuffer; unsigned int readBufferLen; cIptvProtocolIf* protocol; public: cIptvStreamer(cRingBufferLinear* RingBuffer, cMutex* Mutex); virtual ~cIptvStreamer(); virtual void Action(void); bool Set(const char* Address, const int Port, cIptvProtocolIf* Protocol); bool Open(void); bool Close(void); cString GetInformation(void); }; #endif // __IPTV_STREAMER_H