Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

32 řádky
845 B

  1. #pragma once
  2. #include "JObject_NetSDK.h"
  3. NS_NETSDK_CFG_BEGIN
  4. #define JK_Video "Video"
  5. class Video : public JObject
  6. {
  7. public:
  8. JIntObj BitRate; /// 0-4096k,该列表主要由客户端保存,设备只接收实际的码流值而不是下标。
  9. JStrObj BitRateControl; ///码流控制
  10. JStrObj Compression; ///压缩模式(视频格式)
  11. JIntObj FPS; ///帧率值
  12. JIntObj GOP; ///描述两个I帧之间的间隔时间,2-12
  13. JIntObj Quality; ///码流的画质 档次1-6
  14. JStrObj Resolution; ///分辨率
  15. public:
  16. Video(JObject *pParent = NULL, const char *szName = JK_Video):
  17. JObject(pParent,szName),
  18. BitRate(this, "BitRate"),
  19. BitRateControl(this, "BitRateControl"),
  20. Compression(this, "Compression"),
  21. FPS(this, "FPS"),
  22. GOP(this, "GOP"),
  23. Quality(this, "Quality"),
  24. Resolution(this, "Resolution"){
  25. };
  26. ~Video(void){};
  27. };
  28. NS_NETSDK_CFG_END