You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
629 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __OBJECT_ONVIF_CAMERA_HEADER__
  2. #define __OBJECT_ONVIF_CAMERA_HEADER__
  3. #include "../../data/media/mediaVideoSourceManager.h"
  4. #include "../../data/media/video/videoAVLIBSource.h"
  5. #include "../base/basicCamera.h"
  6. #include "../base/basicEventHandler.h"
  7. #include "../base/basicObject.h"
  8. #include <libconfig.h>
  9. class objectOnVivCamera : public basicCamera, public basicEventHandler
  10. {
  11. private:
  12. basicLogCollection * m_pLog;
  13. public:
  14. explicit objectOnVivCamera(config_setting_t * Settings);
  15. ~objectOnVivCamera();
  16. bool create(void);
  17. bool create(mediaSourceInfo * SI);
  18. void dispatch(basicEvent * Evt);
  19. };
  20. #endif