mirror of
https://github.com/John-Varghese-EH/ESP32-CAM-ONVIF.git
synced 2025-11-11 16:26:22 +00:00
14 lines
324 B
C++
14 lines
324 B
C++
// MyStreamer.h
|
|
#pragma once
|
|
#include "OV2640.h"
|
|
#include "CStreamer.h"
|
|
|
|
class MyStreamer : public CStreamer {
|
|
public:
|
|
MyStreamer(OV2640 &cam) : CStreamer(cam.getWidth(), cam.getHeight()), m_cam(cam) {}
|
|
virtual ~MyStreamer() {}
|
|
virtual void streamImage(uint32_t curMsec) override;
|
|
private:
|
|
OV2640 &m_cam;
|
|
};
|