您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

24 行
600 B

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