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

25 lines
567 B

  1. #pragma once
  2. #include "JObject_NetSDK.h"
  3. #include "Video.h"
  4. NS_NETSDK_CFG_BEGIN
  5. #define JK_ExtraFormat "ExtraFormat"
  6. class ExtraFormat : public JObject
  7. {
  8. public:
  9. JBoolObj AudioEnable; ///是否开启视频编码
  10. Video mVideo; ///视频格式定义
  11. JBoolObj VideoEnable; ///是否开启音频编码
  12. public:
  13. ExtraFormat(JObject *pParent = NULL, const char *szName = JK_ExtraFormat):
  14. JObject(pParent,szName),
  15. AudioEnable(this, "AudioEnable"),
  16. mVideo(this, "Video"),
  17. VideoEnable(this, "VideoEnable"){
  18. };
  19. ~ExtraFormat(void){};
  20. };
  21. NS_NETSDK_CFG_END