cn.tee3.avd_SDK-C++  2.1.0
| 类型定义 | 枚举 | 函数 | 变量
common.h 文件参考

浏览源代码.

struct  RoomInfo
 房间信息结构. 更多...
 
struct  Device
 设备信息结构. 更多...
 
struct  CameraCapability
 视频采集信息结构. 更多...
 
struct  Speaker
 扬声器信息结构. 更多...
 
struct  Microphone
 麦克风信息结构. 更多...
 
class  VideoDeviceOptions
 视频设备选项类. 更多...
 
class  PublishVideoOptions
 视频发布选项类. 更多...
 
struct  VideoDevice
 视频类设备结构. 更多...
 
struct  ScreenWindow
 屏幕窗口设备信息结构. 更多...
 
struct  Camera
 视频摄像头信息结构. 更多...
 
struct  AudioInfo
 语音激励信息结构. 更多...
 
struct  RoomStats
 房间统计信息结构. 更多...
 
struct  MediaStats
 媒体统计信息结构. 更多...
 
class  WindowId
 
class  DesktopId
 
struct  AudioParams
 音频参数结构. 更多...
 

类型定义

typedef std::string String
 tee3定义的String类型 更多...
 
typedef String RoomId
 房间号类型,唯一标识房间内一个房间,长度不大于Max_RoomId定义;定义如下:[RId_P|T_H|F_P|M_type_guid];各分段的含义为: 更多...
 
typedef String DeviceId
 设备号类型,唯一标识房间内一个设备,长度不大于Max_DeviceId定义;定义如下:userId+"_"+md5[os.getdeviceid() or os.getsystemid()] 更多...
 
typedef String UserId
 用户号类型,唯一标识房间内一个用户,长度不大于Max_UserId定义;由应用层定义传递给AVD SDK,要求保证房间内唯一 更多...
 
typedef String StreamId
 媒体流Id类型,SDK内部使用 更多...
 
typedef DeviceId RecordId
 录制ID类型 更多...
 
typedef DeviceId LiveId
 直播频道ID类型 更多...
 
typedef DeviceId AnnotationId
 直播频道ID类型 更多...
 
typedef std::vector< RoomInfoRoomInfosType
 房间信息集合类型. 更多...
 
typedef std::vector< SpeakerSpeakersType
 扬声器集合类型. 更多...
 
typedef std::vector< MicrophoneMicrophonesType
 麦克风集合类型. 更多...
 
typedef std::vector< CameraCapabilityCapabilitiesType
 视频采集集合类型. 更多...
 
typedef std::vector< VideoDeviceVideoDevicesType
 视频设备集合类型. 更多...
 
typedef std::vector< ScreenWindowScreensType
 屏幕窗口集合类型. 更多...
 
typedef std::vector< CameraCamerasType
 视频摄像头集合类型. 更多...
 
typedef std::vector< WindowIdWindowIds
 
typedef CameraCapability VideoParams
 视频参数结构. 更多...
 

枚举

enum  AnnotationToolType {
  annotation_tool_mouse = 1 << 0, annotation_tool_line = 1 << 1, annotation_tool_rectangle = 1 << 2, annotation_tool_ellipse = 1 << 3,
  annotation_tool_polyline = 1 << 4, annotation_tool_polygon = 1 << 5, annotation_tool_hlight_point = 1 << 6, annotation_tool_hlight_texttag = 1 << 7,
  annotation_tool_eraser_line = 1 << 8, annotation_tool_eraser_rectangle = 1 << 9, annotation_tool_rhomb = 1 << 10, annotation_tool_arrow = 1 << 11,
  annotation_tool_success = 1 << 12, annotation_tool_failure = 1 << 13
}
 
enum  LineArrowType { line_arrow_none = 1, line_arrow_begin = 1 << 1, line_arrow_end = 1 << 2, line_arrow_2 = line_arrow_begin | line_arrow_end }
 
enum  ClearType { annotation_clear_all = 1 << 8, annotation_clear_myall = 1 << 9, annotation_clear_others = 1 << 10 }
 

函数

const String toString (const RoomStats &obj)
 
const String toString (const MediaStats &obj)
 

变量

const UserId AVD_userId_allUser
 AVD定义的虚假用户Id,用于标识房间中所有用户 更多...
 
const UserId AVD_userId_allUserWithoutMe
 AVD定义的虚假用户Id,用于标识房间中除了自己外的所有用户 更多...
 
const RoomStats g_emptyRoomStats
 
const MediaStats g_emptyMediaStats
 
const uint32 AVD_supportedAnnotationTools
 

类型定义说明

◆ AnnotationId

直播频道ID类型

◆ CamerasType

typedef std::vector<Camera> CamerasType

视频摄像头集合类型.

◆ CapabilitiesType

typedef std::vector<CameraCapability> CapabilitiesType

视频采集集合类型.

◆ DeviceId

typedef String DeviceId

设备号类型,唯一标识房间内一个设备,长度不大于Max_DeviceId定义;定义如下:userId+"_"+md5[os.getdeviceid() or os.getsystemid()]

◆ LiveId

typedef DeviceId LiveId

直播频道ID类型

◆ MicrophonesType

typedef std::vector<Microphone> MicrophonesType

麦克风集合类型.

◆ RecordId

typedef DeviceId RecordId

录制ID类型

◆ RoomId

typedef String RoomId

房间号类型,唯一标识房间内一个房间,长度不大于Max_RoomId定义;定义如下:[RId_P|T_H|F_P|M_type_guid];各分段的含义为:

◆ RoomInfosType

typedef std::vector<RoomInfo> RoomInfosType

房间信息集合类型.

◆ ScreensType

typedef std::vector<ScreenWindow> ScreensType

屏幕窗口集合类型.

◆ SpeakersType

typedef std::vector<Speaker> SpeakersType

扬声器集合类型.

◆ StreamId

typedef String StreamId

媒体流Id类型,SDK内部使用

◆ String

typedef std::string String

tee3定义的String类型

◆ UserId

typedef String UserId

用户号类型,唯一标识房间内一个用户,长度不大于Max_UserId定义;由应用层定义传递给AVD SDK,要求保证房间内唯一

◆ VideoDevicesType

typedef std::vector<VideoDevice> VideoDevicesType

视频设备集合类型.

◆ VideoParams

视频参数结构.

视频参数结构定义了视频采集、传输等相关参数信息。

◆ WindowIds

typedef std::vector<WindowId> WindowIds

枚举类型说明

◆ AnnotationToolType

枚举值
annotation_tool_mouse 
annotation_tool_line 
annotation_tool_rectangle 
annotation_tool_ellipse 
annotation_tool_polyline 
annotation_tool_polygon 
annotation_tool_hlight_point 
annotation_tool_hlight_texttag 
annotation_tool_eraser_line 
annotation_tool_eraser_rectangle 
annotation_tool_rhomb 
annotation_tool_arrow 
annotation_tool_success 
annotation_tool_failure 

◆ ClearType

enum ClearType
枚举值
annotation_clear_all 
annotation_clear_myall 
annotation_clear_others 

◆ LineArrowType

枚举值
line_arrow_none 
line_arrow_begin 
line_arrow_end 
line_arrow_2 

函数说明

◆ toString() [1/2]

const String toString ( const RoomStats obj)

参考自 MediaStats::Clear().

◆ toString() [2/2]

const String toString ( const MediaStats obj)

变量说明

◆ AVD_supportedAnnotationTools

const uint32 AVD_supportedAnnotationTools

◆ AVD_userId_allUser

const UserId AVD_userId_allUser

AVD定义的虚假用户Id,用于标识房间中所有用户

◆ AVD_userId_allUserWithoutMe

const UserId AVD_userId_allUserWithoutMe

AVD定义的虚假用户Id,用于标识房间中除了自己外的所有用户

◆ g_emptyMediaStats

const MediaStats g_emptyMediaStats

参考自 MediaStats::Clear().

◆ g_emptyRoomStats

const RoomStats g_emptyRoomStats

参考自 MediaStats::Clear().