You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
588 B
C
29 lines
588 B
C
3 months ago
|
//
|
||
|
// 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();
|
||
|
virtual void EnableOsd(bool enable);
|
||
|
virtual std::string GetStreamingUrl(uint8_t channel);
|
||
|
virtual bool UpdateTime(time_t ts);
|
||
|
virtual bool TakePhoto(std::vector<uint8_t>& img);
|
||
|
virtual bool TakeVideo(uint32_t duration, std::string path);
|
||
|
|
||
|
private:
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif //__MICROPHOTO_HANGYUCTRL_H__
|