36 lines
891 B
C++
36 lines
891 B
C++
#ifndef RECORDER_ZMODORECORDER_H
|
|
#define RECORDER_ZMODORECORDER_H
|
|
|
|
#include "Recorder.h"
|
|
#include "Settings.h"
|
|
|
|
|
|
namespace Http {
|
|
|
|
class HttpClient;
|
|
|
|
} // namespace Http
|
|
|
|
namespace CameraRecorder {
|
|
namespace Recorder {
|
|
|
|
class ZModoRecorder : public virtual Recorder
|
|
{
|
|
public:
|
|
ZModoRecorder(Http::HttpClient* pHttpClient, const Settings& settings, Util::RecorderMutexPointer pRecorderMutex);
|
|
~ZModoRecorder();
|
|
|
|
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
|
virtual std::string MultiSnapshot(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg, int numberOfImages) override;
|
|
virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
|
|
|
|
private:
|
|
Http::HttpClient* m_pHttpClient;
|
|
Settings m_settings;
|
|
};
|
|
|
|
} // namespace Recorder
|
|
} // namespace CameraRecorder
|
|
|
|
#endif // RECORDER_ZMODORECORDER_H
|