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.

33 lines
1.1 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
6 years ago
​
​
​
​
6 years ago
6 years ago
​
​
​
6 years ago
​
​
​
​
  1. #ifndef __ARGUS_ZLMEDIA_CONNECTOR_MODULE_HEADER__
  2. #define __ARGUS_ZLMEDIA_CONNECTOR_MODULE_HEADER__
  3. #include "../components/base/basicTypes.h"
  4. #include "../components/base/basicSettingsProvider.h"
  5. #include "../components/base/basicLogCollection.h"
  6. #include "../data/protocol/protocolZLMEDIA.h"
  7. //#include "../../alg/generic/md5.h"
  8. #include "rgooseModule.h"
  9. #define ZLMC_STAGE_INIT 0
  10. #define ZLMC_STAGE_START 1
  11. #define ZLM_STAGE_COLLECT_DATA 2
  12. #define ZLMC_STAGE_END 3
  13. #define ZLM_SECONDS_VALIDATE 5
  14. class ARGUS_ZLMedia: public argusKernelModule{
  15. private:
  16. uint8_t m_bCStage;
  17. basicLogCollection * m_pLog;
  18. DBC_MEDIA_SERVER_DATA m_sSettings;
  19. protocolZLMEDIA * m_pProtocol;
  20. //DBC_INT_LIST * m_pDefinedStreams;
  21. CSTR m_pVHostIP;
  22. time_t m_tTimeSeconds;
  23. void updateMRLs( void );
  24. public:
  25. explicit ARGUS_ZLMedia( uint32_t id );
  26. ~ARGUS_ZLMedia();
  27. virtual bool validate();
  28. };
  29. #endif