25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
695 B

  1. #pragma once
  2. #include "JObject_NetSDK.h"
  3. NS_NETSDK_CFG_BEGIN
  4. #define JK_EncodeInfo "EncodeInfo"
  5. class EncodeInfo : public JObject
  6. {
  7. public:
  8. JIntHex CompressionMask; ///< 掩码
  9. JBoolObj Enable; ///< 使能项
  10. JBoolObj HaveAudio; ///< 是否支持音频
  11. JIntHex ResolutionMask; ///< 掩码
  12. JStrObj StreamType; ///< 码流类型
  13. public:
  14. EncodeInfo(JObject *pParent = NULL, const char *szName = JK_EncodeInfo):
  15. JObject(pParent,szName),
  16. CompressionMask(this, "CompressionMask"),
  17. Enable(this, "Enable"),
  18. HaveAudio(this, "HaveAudio"),
  19. ResolutionMask(this, "ResolutionMask"),
  20. StreamType(this, "StreamType"){
  21. };
  22. ~EncodeInfo(void){};
  23. };
  24. NS_NETSDK_CFG_END