| 12345678910111213141516171819202122232425262728293031323334 |
- #ifndef RECORDER_FOSCAMRECORDER_H
- #define RECORDER_FOSCAMRECORDER_H
- #include "Recorder.h"
- #include "Settings.h"
- namespace Http {
- class HttpClient;
- } // namespace Http
- namespace CameraRecorder {
- namespace Recorder {
- class FoscamRecorder : public virtual Recorder
- {
- public:
- FoscamRecorder(Http::HttpClient* pHttpClient, const Settings& settings);
- ~FoscamRecorder();
- 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_FOSCAMRECORDER_H
|