rtc.avd_SDK-C++  3.2.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  AvdWindowId
 
class  AvdDesktopId
 
struct  AudioParams
 音频参数结构. 更多...
 
struct  LiveInfo
 for live 更多...
 

命名空间

 webrtc
 

类型定义

typedef std::string String
 定义的String类型 更多...
 
typedef String RoomId
 房间号类型,唯一标识房间内一个房间,长度不大于Max_RoomId定义; 更多...
 
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 String BoardId
 
typedef std::vector< RoomInfo > RoomInfosType
 房间信息集合类型. 更多...
 
typedef std::vector< Speaker > SpeakersType
 扬声器集合类型. 更多...
 
typedef std::vector< Microphone > MicrophonesType
 麦克风集合类型. 更多...
 
typedef std::vector< CameraCapability > CapabilitiesType
 视频采集集合类型. 更多...
 
typedef std::vector< VideoDevice > VideoDevicesType
 视频设备集合类型. 更多...
 
typedef std::vector< ScreenWindow > ScreensType
 屏幕窗口集合类型. 更多...
 
typedef std::vector< Camera > CamerasType
 视频摄像头集合类型. 更多...
 
typedef std::vector< AvdWindowId > AvdWindowIds
 
typedef CameraCapability VideoParams
 视频参数结构. 更多...
 
typedef std::vector< LiveInfo > LiveInfosType
 直播频道信息集合类型. 更多...
 
typedef std::vector< std::string > AnnotationTypes
 注释信息列表,json格式字符串 更多...
 

枚举

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, annotation_tool_img = 1<<14, annotation_tool_hlight_cricle = 1 << 15,
  annotation_tool_txt = 1 << 16
}
 
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 }
 
enum  RSTP_STREAM { RTSP_ALL_STREAM =0, RTSP_AUDIO_STREAM, RTSP_VIDIO_STREAM }
 

变量

const UserId AVD_userId_allUser
 保证id唯一即可,一般使用uuid 更多...
 
const UserId AVD_userId_allUserWithoutMe
 AVD定义的虚假用户Id,用于标识房间中除了自己外的所有用户 更多...
 
const UserId AVD_userId_noneUser
 AVD定义的虚假用户Id,用于标识没有任何用户 更多...
 

类型定义说明

◆ AnnotationId

注释对象ID类型

◆ AnnotationTypes

typedef std::vector<std::string> AnnotationTypes

注释信息列表,json格式字符串

◆ AvdWindowIds

typedef std::vector<AvdWindowId> AvdWindowIds

◆ BoardId

typedef String BoardId

◆ 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类型

◆ LiveInfosType

typedef std::vector<LiveInfo> LiveInfosType

直播频道信息集合类型.

◆ MicrophonesType

typedef std::vector<Microphone> MicrophonesType

麦克风集合类型.

◆ RecordId

typedef DeviceId RecordId

录制ID类型

◆ RoomId

typedef String RoomId

房间号类型,唯一标识房间内一个房间,长度不大于Max_RoomId定义;

◆ 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

定义的String类型

◆ UserId

typedef String UserId

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

◆ VideoDevicesType

typedef std::vector<VideoDevice> VideoDevicesType

视频设备集合类型.

◆ VideoParams

视频参数结构.

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

枚举类型说明

◆ 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 
annotation_tool_img 
annotation_tool_hlight_cricle 
annotation_tool_txt 

◆ 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 

◆ RSTP_STREAM

枚举值
RTSP_ALL_STREAM 
RTSP_AUDIO_STREAM 
RTSP_VIDIO_STREAM 

变量说明

◆ AVD_userId_allUser

const UserId AVD_userId_allUser

保证id唯一即可,一般使用uuid

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

◆ AVD_userId_allUserWithoutMe

const UserId AVD_userId_allUserWithoutMe

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

◆ AVD_userId_noneUser

const UserId AVD_userId_noneUser

AVD定义的虚假用户Id,用于标识没有任何用户