35 lines
731 B
C++
35 lines
731 B
C++
#ifndef RECORDER_DIGOORECORDER_H
|
|
#define RECORDER_DIGOORECORDER_H
|
|
|
|
#include "Recorder.h"
|
|
#include "Settings.h"
|
|
|
|
|
|
namespace Http {
|
|
|
|
class HttpClient;
|
|
|
|
} // namespace Http
|
|
|
|
namespace CameraRecorder {
|
|
namespace Recorder {
|
|
|
|
class DigooRecorder : public virtual Recorder
|
|
{
|
|
public:
|
|
DigooRecorder(Http::HttpClient* pHttpClient, const Settings& settings);
|
|
~DigooRecorder();
|
|
|
|
virtual std::string Snapshot(ctpl::thread_pool* pThreadPool) 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_DIGOORECORDER_H
|