WatchBotRecorder.h 749 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef RECORDER_WATCHBOTRECORDER_H
  2. #define RECORDER_WATCHBOTRECORDER_H
  3. #include "Recorder.h"
  4. #include "Settings.h"
  5. namespace Http {
  6. class HttpClient;
  7. } // namespace Http
  8. namespace CameraRecorder {
  9. namespace Recorder {
  10. class WatchBotRecorder : public virtual Recorder
  11. {
  12. public:
  13. WatchBotRecorder(Http::HttpClient* pHttpClient, const Settings& settings);
  14. ~WatchBotRecorder();
  15. virtual std::string Snapshot(ctpl::thread_pool* pThreadPool) override;
  16. virtual std::string Video(ctpl::thread_pool* pThreadPool, const std::string& ffmpeg) override;
  17. private:
  18. Http::HttpClient* m_pHttpClient;
  19. Settings m_settings;
  20. };
  21. } // namespace Recorder
  22. } // namespace CameraRecorder
  23. #endif // RECORDER_WATCHBOTRECORDER_H