Add MultiSnapshot

This commit is contained in:
2020-05-11 21:55:34 +02:00
parent ea15817e53
commit 6afdf1a387
21 changed files with 904 additions and 714 deletions
+35 -34
View File
@@ -1,34 +1,35 @@
#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
#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 MultiSnapshot(ctpl::thread_pool* pThreadPool, 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_DIGOORECORDER_H