40 virtual void Activate(
bool On)
override;
45 virtual void Receive(
const uchar *Data,
int Length)
override;
46 virtual void Action(
void)
override;
cRecorder(const char *FileName, const cChannel *Channel, int Priority)
Creates a new recorder for the given Channel and the given Priority that will record into the file Fi...
virtual void Receive(const uchar *Data, int Length) override
This function is called from the cDevice we are attached to, and delivers one TS packet from the set ...
virtual void Activate(bool On) override
If you override Activate() you need to call Detach() (which is a member of the cReceiver class) from ...
void HandleErrors(bool Force=false)
cRecordingInfo * recordingInfo
cFrameDetector * frameDetector
time_t lastDiskSpaceCheck
cUnbufferedFile * recordFile
virtual void Action(void) override
A derived cThread class must implement the code it wants to execute as a separate thread in this func...
cRingBufferLinear * ringBuffer
bool RunningLowOnDiskSpace(void)
virtual ~cRecorder() override
cPatPmtGenerator patPmtGenerator
cUnbufferedFile is used for large files that are mainly written or read in a streaming manner,...