// // Created by Matthew on 2025/3/4. // #ifndef __MICROPHOTO_HANGYUCTRL_H__ #define __MICROPHOTO_HANGYUCTRL_H__ #include "VendorCtrl.h" class HangYuCtrl : public VendorCtrl { public: using VendorCtrl::VendorCtrl; virtual ~HangYuCtrl(); virtual bool SetOsd(uint8_t channel, std::string osd, uint8_t pos); virtual void EnableOsd(bool enable, uint8_t channel); virtual std::string GetStreamingUrl(uint8_t channel); virtual bool UpdateTime(time_t ts); virtual bool TakePhoto(std::vector& img); virtual bool TakeVideo(uint32_t duration, std::string path); virtual bool HasAuthOnStreaming() const { return true; } virtual bool SetResolution(uint8_t channel, uint8_t streamID, uint32_t resX, uint32_t resY); }; #endif //__MICROPHOTO_HANGYUCTRL_H__