cn.tee3.avd_SDK-C++  2.1.0
combase.h
浏览该文件的文档.
1 #ifndef RT_COMMON_BASE_H
2 #define RT_COMMON_BASE_H
3 #define __BUILD_LIVECAST__
4 
5 #include "defines.h"
6 #include "errorcode.h"
7 
8 typedef uint64_t AVDHandle;
9 typedef int Result;
11 #define Max_RoomId 64
12 #define Max_UserId 40
13 #define Max_UserData 128
14 #define Max_DeviceId 256
15 #define Max_StreamId 64
16 #define Max_UserName 32
17 #define Max_DeviceName 64
18 #define Max_DeviceDescription 128
19 #define Max_RoomName 256
20 #define Max_Password 16
21 #define Max_Message 256
22 #define Max_Address 64
23 #define Max_StringEnum 32
24 #define Max_UrlLen 256
25 #define Max_TimeLen 64
27 #if defined(RT_LINUX) && !defined(RT_ANDROID)
29 typedef unsigned long Window; // Avoid include <X11/Xlib.h>.
30 #elif defined(RT_WIN32)
31 // We commonly include win32.h in webrtc/base so just include it here.
32 #ifndef NOMINMAX
33  #define NOMINMAX
34 #endif
35 #ifndef WIN32_LEAN_AND_MEAN
36  #define WIN32_LEAN_AND_MEAN
37 #endif
38 #include <windows.h> // Include HWND, HMONITOR.
39 #elif defined(RT_MAC) && !defined(RT_IOS)
40 typedef unsigned int CGWindowID;
41 typedef unsigned int CGDirectDisplayID;
42 #endif
43 
45 
51 #define avd_testFlagChange(oldValue,newValue,mask) \
52  (0 != ((oldValue^newValue) & mask))
53 
59 #define avd_isFlagSet(uValue,mask) \
60  (0 != (uValue & mask))
61 
65 #define avd_setFlag(uValue,mask) \
66  uValue |= mask;
67 
71 #define avd_clearFlag(uValue,mask) \
72  uValue &= ~mask;
73 
78 #define avd_getFlag(uValue,mask) \
79  uValue &mask;
80 
85 #define avd_xorFlag(uValue,mask) \
86  uValue ^= mask;
87 
88 
90 #if defined(__cplusplus) || defined(WEBRTC_IOS)
91 
92 #define NAMESPACE_TEE3_BEGIN \
93 namespace tee3 {
94 
95 #define NAMESPACE_TEE3_END \
96 }
97 
98 #define NAMESPACE_TEE3_AVD_BEGIN\
99  NAMESPACE_TEE3_BEGIN \
100  namespace avd {
101 
102 #define NAMESPACE_TEE3_AVD_END \
103  } \
104  NAMESPACE_TEE3_END
105 
106 
107 #define USE_NAMESPACE_TEE3 \
108  using namespace tee3;
109 
110 #define USE_NAMESPACE_TEE3_AVD \
111  using namespace tee3::avd;
112 
113 #else
114  #define NAMESPACE_TEE3_BEGIN
115  #define NAMESPACE_TEE3_END
116  #define NAMESPACE_TEE3_AVD_BEGIN
117  #define NAMESPACE_TEE3_AVD_END
118  #define USE_NAMESPACE_TEE3
119  #define USE_NAMESPACE_TEE3_AVD
120 
121 #endif //__cplusplus
122 
124 
129 {
134 };
144  quality_low = (1 << 0),
145  quality_normal = (1 << 1),
146  quality_high = (1 << 2),
147 };
156 };
162  rotation_90 = 90,
163  rotation_180 = 180,
164  rotation_270 = 270,
166 };
176 };
184 };
192 };
193 
198 };
199 
201 enum RoomMode {
202  clear_set = (1 << 0), // use uint32ernal
203  rm_mcu = (1 << 31),
205  rm_free = (1 << 30),
206  rm_host = rm_free + clear_set,
207  rm_temperary = (1 << 29),
209 };
216 };
223 };
230 };
236 struct UserStatus {
237 public:
239  enum Status {
240  microphone_has = 1 << 31,
241  microphone_on = 1 << 30,
242  camera_has = 1 << 29,
243  camera_on = 1 << 28,
244  screen_on = 1 << 25,
246  status_all = 0xFFFFFFFF,
247  };
248 public:
252  bool hasCamera() const { return avd_isFlagSet(status, camera_has); }
256  bool isCameraOn() const { return avd_isFlagSet(status, camera_on); }
258  bool isScreenOn() const { return avd_isFlagSet(status, screen_on); }
266  void setStatus(Status flag) { avd_setFlag(status, flag); }
274  void clearStatus(Status flag) { avd_clearFlag(status, flag); }
275 public:
277 public:
278  UserStatus(uint32 val) : status(val) {}
279  UserStatus() : status(0) {}
281  bool operator==(const UserStatus& from) const { return status == from.status; };
282 };
283 
380 };
381 
433  //only for windows
441 };
442 
448 };
455 };
460 };
468 };
476 };
477 
485 };
486 
492 };
493 
496  ft_none = 0,
497  ft_roommanager = (1 << 0),
498  ft_datachannel = (1 << 1),
499  ft_chat = (1 << 2),
500  ft_audio = (1 << 3),
501  ft_video = (1 << 4),
502  ft_video_hd = (1 << 5),
503  ft_screen = (1 << 6),
504  ft_annotation = (1 << 7),
505  ft_p2p = (1 << 10),
506  ft_outgoing = (1 << 11),
507  ft_avei = (1 << 12),
508  ft_h265 = (1 << 19),
512  ft_record_audio = (1 << 16),
513  ft_record_video = (1 << 17),
514  ft_livebroadcast = (1 << 18),
516  //
517  ft_platform_android = (1 << 20),
518  ft_platform_ios = (1 << 21),
519  ft_platform_win = (1 << 22),
520  ft_platform_mac = (1 << 23),
521  ft_platform_linux = (1 << 24),
522  ft_platform_web = (1 << 25),
528 };
529 
530 
537  int pltype;
538  char plname[32];
539  int plfreq;
540  int pacsize;
541  int channels;
542  int rate; // bits/sec unlike {start,min,max}Bitrate elsewhere in this file!
543 
544  bool operator==(const AudioCodecInst& other) const {
545  return pltype == other.pltype &&
546  plfreq == other.plfreq &&
547  pacsize == other.pacsize &&
548  channels == other.channels &&
549  rate == other.rate;
550  }
551 
552  bool operator!=(const AudioCodecInst& other) const {
553  return !(*this == other);
554  }
555 
557  if (*this != other) {
558  pltype = other.pltype;
559  //memcpy(plname, other.plname, 32);
560  for (uint32 i = 0; i < sizeof(plname); ++i) {
561  plname[i] = other.plname[i];
562  }
563  plfreq = other.plfreq;
564  pacsize = other.pacsize;
565  channels = other.channels;
566  rate = other.rate;
567  }
568  return *this;
569  }
570 };
576 const AudioCodecInst kTbPcm16Bwb = { 108, "L16", 16000, 320, 1, 256000 }; // default audio data
577 const AudioCodecInst kTbPcm44Bwb = { 130, "L16", 44100, 882, 1, 512000 }; // for aac encoder
578 const AudioCodecInst kTbPcm48Bwb = { 131, "L16", 48000, 960, 1, 512000 };
579 const AudioCodecInst kTbPcm16Stereo = { 112, "L16", 16000, 320, 2, 256000 };
580 const AudioCodecInst kTbPcm44Stereo = { 135, "L16", 44100, 882, 2, 512000 };
581 const AudioCodecInst kTbPcm48Stereo = { 136, "L16", 48000, 960, 2, 512000 };
582 const AudioCodecInst kTbPcmu = { 0, "PCMU", 8000, 160, 1, 64000 };
583 const AudioCodecInst kTbPcma = { 8, "PCMA", 8000, 160, 1, 64000 };
584 const AudioCodecInst kTbPcmuStereo = { 110, "PCMU", 8000, 160, 2, 64000 };
585 const AudioCodecInst kTbPcmaStereo = { 118, "PCMA", 8000, 160, 2, 64000 };
586 const AudioCodecInst kTbIsacWb = { 103, "ISAC", 16000, 480, 1, 32000 };
587 const AudioCodecInst kTbIsacSwb = { 104, "ISAC", 32000, 960, 1, 56000 };
588 const AudioCodecInst kTbIlbc = { 102, "ILBC", 8000, 240, 1, 13300 };
589 const AudioCodecInst kTbOpus = { 120, "opus", 48000, 960, 2, 64000 };
590 
596 struct NetworkStats {
598  int bps_sent;
606  NetworkStats() : bps_received(0), bps_sent(0), lostpercent(0)
607  , bytes_received(0), bytes_sent(0)
608  , packets_lost(0), packets_received(0), packets_sent(0) {
609  }
610  virtual void Clear() {
611  bps_received = 0;
612  bps_sent = 0;
613  lostpercent = 0;
614  bytes_received = 0;
615  bytes_sent = 0;
616  packets_lost = 0;
617  packets_received = 0;
618  packets_sent = 0;
619  }
620 };
621 
622 #define FOURCC(a, b, c, d) ( \
623  (static_cast<uint32>(a)) | (static_cast<uint32>(b) << 8) | \
624  (static_cast<uint32>(c) << 16) | (static_cast<uint32>(d) << 24))
625 
626 enum FourCC {
627  FOURCC_I420 = FOURCC('I', '4', '2', '0'),
628  FOURCC_YV12 = FOURCC('Y', 'V', '1', '2'),
629  FOURCC_NV21 = FOURCC('N', 'V', '2', '1'),
630  FOURCC_NV12 = FOURCC('N', 'V', '1', '2'),
631  FOURCC_YUY2 = FOURCC('Y', 'U', 'Y', '2'),
632  FOURCC_UYVY = FOURCC('U', 'Y', 'V', 'Y'),
633  FOURCC_MJPG = FOURCC('M', 'J', 'P', 'G'),
634  FOURCC_ARGB = FOURCC('A', 'R', 'G', 'B'),
635  FOURCC_24BG = FOURCC('2', '4', 'B', 'G'),
636  // h264
637  FOURCC_H264 = FOURCC('H', '2', '6', '4'),
638 };
639 
640 
643  VET_VP8 = 1,
644  VET_H264 = 2,
645  VET_VP9 = 3,
646  VET_H265 = 4,
647 };
649  AET_PCM = 0,
650  AET_AAC = 1,
652  AET_OPUS = 3,
653  AET_ISAC = 4,
654  AET_PCMA = 5,
655  AET_PCMU = 6,
656 };
658  ART_NONE = 0,
659  ART_ALL = 1,
662 };
663 
665 
666 #endif//RT_COMMON_BASE_H
值类型为String, 音频订阅模式:字符类型为"autosubscribe" or "nosubscribe":分别表示自动订阅房间中全部...
Definition: combase.h:408
初始状态
Definition: combase.h:219
Definition: combase.h:661
透明通道:一对多,一对一
Definition: combase.h:497
值类型为bool, 字符类型为"true" or "false":表示视频发布时缺省是否采用多流。 当前系统默认的采集参数为...
Definition: combase.h:307
主持人模式
Definition: combase.h:206
virtual void Clear()
Definition: combase.h:610
直播暂停
Definition: combase.h:473
后置摄像头
Definition: combase.h:191
直播异常
Definition: combase.h:475
值类型为bool, 字符类型为"true" or "false":设置共享屏幕时的是否共享扬声器的声音;系统默认为false。暂...
Definition: combase.h:436
服务器旁路录制视频
Definition: combase.h:513
bool isMicrophoneOn() const
判断是否麦克风已打开
Definition: combase.h:254
值类型为bool, 字符类型为"true" or "false":表示启用或不启用,建议局域网或者简单的环境不使用代理。 当...
Definition: combase.h:318
手动布局
Definition: combase.h:491
视频辅流2
Definition: combase.h:454
mcu模式
Definition: combase.h:203
值类型为bool, 字符类型为"true" or "false":表示在音频采集时是否使用噪音抑制,抑制后会消除部分噪音。 ...
Definition: combase.h:359
平台:android系统
Definition: combase.h:517
bool isScreenOn() const
判断是否屏幕窗口共享已开启
Definition: combase.h:258
AudioEncodedType
Definition: combase.h:648
16:9视频
Definition: combase.h:153
#define FOURCC(a, b, c, d)
Definition: combase.h:622
正在直播
Definition: combase.h:483
音频编码信息
Definition: combase.h:536
值类型为int32, 字符类型为"true" or "false":在重连失败之后是否尝试自动重新加入房间,系统默认为true。 ...
Definition: combase.h:423
Definition: combase.h:649
值类型为枚举CameraType, 字符类型为"front" or "back":表示前后置摄像头模式时房间中默认使用的摄像头:前...
Definition: combase.h:419
DeviceStatus
设备状态.
Definition: combase.h:128
设备初始化状态 (如设备插入或从发布状态关闭发布)
Definition: combase.h:131
StreamType
视频主辅流类型.
Definition: combase.h:180
MediaFileType
媒体文件类型定义
Definition: combase.h:457
p2p模式
Definition: combase.h:204
自动布局-窗口中重叠视频
Definition: combase.h:489
视频辅流1
Definition: combase.h:453
4:3视频
Definition: combase.h:152
普通视频(640x480及以下)
Definition: combase.h:501
值类型为bool, 字符类型为"true" or "false":表示房间中数据通道用的网络连接类型:TCP优先(true)和UDP优先...
Definition: combase.h:315
Definition: combase.h:162
int64 packets_sent
总共已发送数据包
Definition: combase.h:604
Definition: combase.h:525
值类型为bool, 字符类型为"true" or "false":设置简易房间中发布视频时是否发布混屏后视频;系统默认为fals...
Definition: combase.h:439
RecordStatus
旁路录制状态定义
Definition: combase.h:462
正在连接服务器
Definition: combase.h:220
平台:mac ox桌面系统
Definition: combase.h:520
值类型为json String:设置分布式集群部署中加房间时mcu服务器的分配路由参数。 取值格式如下:{"ip_tag":"l...
Definition: combase.h:368
LiveStatus
旁路直播频道状态定义
Definition: combase.h:470
uint64_t AVDHandle
句柄类型
Definition: combase.h:8
Definition: combase.h:642
const AudioCodecInst kTbPcm48Stereo
Definition: combase.h:581
#define NAMESPACE_TEE3_AVD_END
Definition: combase.h:117
bool isCameraOn() const
判断是否摄像头已打开
Definition: combase.h:256
Definition: combase.h:379
高清视频
Definition: combase.h:502
Definition: combase.h:161
int pacsize
Definition: combase.h:540
值类型为bool, 字符类型为"true" or "false":表示在回音消除时启用或不启用延时消除算法,此算法较耗费cpu...
Definition: combase.h:356
值类型为bool, 字符类型为"true" or "false":表示在音频采集时是否启用高通滤波,一些尖锐的声音会被过滤掉...
Definition: combase.h:365
int Result
返回值类型
Definition: combase.h:9
正在进行中
Definition: combase.h:213
用户状态结构.
Definition: combase.h:236
const AudioCodecInst kTbIsacSwb
Definition: combase.h:587
初始状态
Definition: combase.h:480
应用
Definition: combase.h:197
const AudioCodecInst kTbPcmaStereo
Definition: combase.h:585
int plfreq
Definition: combase.h:539
DeviceStatus MicrophoneStatus
麦克风状态
Definition: combase.h:135
值类型为String, 房间中各种选项(根据字符枚举)立即应用。当前字符枚举有:"audio_options":Engine中设置...
Definition: combase.h:430
值类型为bool, 字符类型为"true" or "false":表示摄像头使用模式:前后置摄像头模式(true)和多摄像头模式(...
Definition: combase.h:291
创建直播
Definition: combase.h:471
未知类型
Definition: combase.h:195
Definition: combase.h:643
值类型为int, 取值:[0, 500]; 字符类型数值字符串如"50":表示AEC估计延时,用于回音消除。 缺省为 0; 回...
Definition: combase.h:346
值类型为VideoQuality, 字符类型为"low" or "normal" or "high":表示订阅视频缺省采用的视频质量。 当前系...
Definition: combase.h:304
音视频导入导出
Definition: combase.h:507
const AudioCodecInst kTbOpus
Definition: combase.h:589
客户端视频录制
Definition: combase.h:510
平台:web js系统
Definition: combase.h:522
设备打开发布状态
Definition: combase.h:132
#define avd_isFlagSet(uValue, mask)
判断uint32的某特定位是否为1
Definition: combase.h:59
unsigned int uint32
Definition: defines.h:391
RecordAudioType
录制音频类型定义
Definition: combase.h:444
EngineOption
引擎选项
Definition: combase.h:290
无视频
Definition: combase.h:451
麦克风打开设置位
Definition: combase.h:241
Definition: combase.h:646
AudioCodecInst & operator=(const AudioCodecInst &other)
Definition: combase.h:556
VP8编解码器类型
Definition: combase.h:171
已关闭房间
Definition: combase.h:215
值类型为VideoQuality, 字符类型为"low" or "normal" or "high":表示摄像头发布缺省采用的视频质量,与came...
Definition: combase.h:298
bool hasCamera() const
判断是否有摄像头设备
Definition: combase.h:252
VideoCodec
视频编解码器类型.
Definition: combase.h:170
Definition: combase.h:651
DeviceStatus ScreenStatus
屏幕窗口共享状态
Definition: combase.h:137
已经安排好
Definition: combase.h:212
正在连接服务器
Definition: combase.h:481
录制完成可查看
Definition: combase.h:465
long long int64
Definition: defines.h:381
视频主流
Definition: combase.h:452
MixerVideoLayoutType
视频混频布局类型
Definition: combase.h:488
#define NAMESPACE_TEE3_AVD_BEGIN
Definition: combase.h:116
值类型为VideoCodec, 字符类型为"h264","h265","vp8","vp9":表示视频编码优先采用h264,h265,vp8,vp9...
Definition: combase.h:310
int64 bytes_sent
总共已发送字节数
Definition: combase.h:601
Definition: combase.h:155
值类型为uint32, 字符类型为"3" or "2"等数字字符:设置断线重连失败后自动加入的次数,在启用ro_room_auto_...
Definition: combase.h:426
CameraType
摄像头类型.
Definition: combase.h:188
值类型为bool, 字符类型为"true" or "false":表示音视频是否启用DTLS加密,DTLS加密数据更加安全,但是会加...
Definition: combase.h:397
未知类型
Definition: combase.h:189
uint32 status
用户状态集合
Definition: combase.h:276
android系统可用;值类型为int, 取值:[30, 400]; 字符类型数值字符串如"50":表示AEC延时上限,用于回音消...
Definition: combase.h:338
int lostpercent
当前丢包率: 20s计算
Definition: combase.h:599
H265模块
Definition: combase.h:508
自由发言模式
Definition: combase.h:205
值类型为float, 取值:[0.1, 10.0]; 字符类型数值字符串如"2.0":表示语音播放时的增益倍数。 缺省为 1...
Definition: combase.h:342
值类型为uint32, 字符类型为"3" or "10"等数字字符:设置共享屏幕时的帧率,系统默认为5。 ...
Definition: combase.h:434
const AudioCodecInst kTbPcmu
Definition: combase.h:582
~UserStatus()
Definition: combase.h:280
UserStatus()
Definition: combase.h:279
UserStatus(uint32 val)
Definition: combase.h:278
创建录制
Definition: combase.h:463
RecordVideoType
录制视频类型定义
Definition: combase.h:450
int bps_received
当前接收带宽: 20s计算
Definition: combase.h:597
ScreenType
Definition: combase.h:194
值类型为VideoRatio, 字符类型为"4_3" or "16_9" or "cif":表示视频缺省宽高比。 当前系统默认的采集参数为...
Definition: combase.h:301
NetworkStats()
Definition: combase.h:606
Definition: combase.h:164
值类型为bool, 字符类型为"true" or "false":表示接收到视频数据后不解码直接丢弃,一般用于模拟客服端做并...
Definition: combase.h:389
正在录制(如果相应视频和音频流上传服务器,就会保持到录制中;如没数据也无录制)
Definition: combase.h:464
Definition: combase.h:633
服务器旁路直播
Definition: combase.h:514
值类型为bool, 字符类型为"true" or "false":表示视频publish或preview时设置的分辨率根据输入视频旋转角度...
Definition: combase.h:326
永久房间模式
Definition: combase.h:208
辅流1
Definition: combase.h:182
值类型为bool, 字符类型为"true" or "false":表示启用或不启用视频分辨率16字节严格对齐模式;在16字节对齐...
Definition: combase.h:321
bool operator==(const AudioCodecInst &other) const
Definition: combase.h:544
VideoEncodedType
Definition: combase.h:641
设备集成(rtsp,h323,sip等)
Definition: combase.h:506
拥有摄像头设置位
Definition: combase.h:242
bool operator!=(const AudioCodecInst &other) const
Definition: combase.h:552
设备静默状态
Definition: combase.h:133
服务器旁路录制音频
Definition: combase.h:512
int bps_sent
当前发送带宽: 20s计算
Definition: combase.h:598
RoomStatus
房间状态
Definition: combase.h:211
Definition: combase.h:650
语音
Definition: combase.h:500
FourCC
Definition: combase.h:626
值类型为uint32, 字符类型为"3000" or "5000" :设置链接超时时间,单位毫秒,必须是正数,系统默认是5000毫...
Definition: combase.h:405
H265编解码器类型
Definition: combase.h:174
Pcm32kHzFile
Definition: combase.h:229
Definition: combase.h:635
辅流2
Definition: combase.h:183
int64 bytes_received
总共已接收字节数
Definition: combase.h:600
视频可以预览,已经准备好可以直播
Definition: combase.h:482
值类型为String, 音频编码算法:字符类型为"ISAC" or "opus" or "AAC":分别表示isac语音编码 和 opus音乐编...
Definition: combase.h:412
int64 packets_received
总共已接收数据包
Definition: combase.h:603
Definition: combase.h:527
VP9编解码器类型
Definition: combase.h:173
摄像头打开设置位
Definition: combase.h:243
Definition: combase.h:653
Definition: combase.h:654
Definition: combase.h:175
Definition: combase.h:526
LivecastStatus
客户端直播状态定义
Definition: combase.h:479
流畅
Definition: combase.h:144
Pcm8kHzFile
Definition: combase.h:228
const AudioCodecInst kTbPcm48Bwb
Definition: combase.h:578
bool hasMicrophone() const
判断是否有麦克风设备
Definition: combase.h:250
const AudioCodecInst kTbPcm16Bwb
支持的音频编码格式
Definition: combase.h:576
录制被删除
Definition: combase.h:466
Definition: combase.h:630
值类型为bool, 字符类型为"true" or "false":设置房间中发布视频时是否发布混屏后视频;系统默认为true。 n...
Definition: combase.h:374
Definition: combase.h:627
主流
Definition: combase.h:181
CIF比例视频
Definition: combase.h:154
拥有麦克风设置位
Definition: combase.h:240
int pltype
Definition: combase.h:537
Definition: combase.h:629
Definition: combase.h:655
const AudioCodecInst kTbPcm16Stereo
Definition: combase.h:579
android系统可用;值类型为int, 取值:[30, 400]; 字符类型数值字符串如"50":表示AEC延时下限,用于回音消...
Definition: combase.h:335
值类型为String:表示演示直播和录制的服务器地址,只能获取。
Definition: combase.h:313
标清
Definition: combase.h:145
const AudioCodecInst kTbIsacWb
Definition: combase.h:586
已锁定房间:锁定房间后,新用户无法加入房间
Definition: combase.h:214
屏幕窗口共享设置位
Definition: combase.h:244
Definition: combase.h:634
const AudioCodecInst kTbPcm44Stereo
Definition: combase.h:580
客户端音频录制
Definition: combase.h:509
高清
Definition: combase.h:146
const AudioCodecInst kTbPcmuStereo
Definition: combase.h:584
Definition: combase.h:165
前置摄像头
Definition: combase.h:190
int rate
Definition: combase.h:542
WebM文件格式,支持vp8视频和opus音频封装
Definition: combase.h:459
值类型为bool, 字符类型为"true" or "false":表示房间中混音数据回调是否缓冲为1024sample后回调:缓冲(tru...
Definition: combase.h:415
VideoRatio
视频宽高比类型.
Definition: combase.h:151
临时房间模式
Definition: combase.h:207
Status
用户状态位
Definition: combase.h:239
正在与服务器重连接
Definition: combase.h:484
ConnectionStatus
房间网络状态
Definition: combase.h:218
int64 packets_lost
总共已丢包数
Definition: combase.h:602
同视频用户的单用户音频
Definition: combase.h:446
Definition: combase.h:202
桌面
Definition: combase.h:196
const AudioCodecInst kTbPcm44Bwb
Definition: combase.h:577
Definition: combase.h:631
连接服务器失败
Definition: combase.h:222
char plname[32]
Definition: combase.h:538
FileFormats
Definition: combase.h:225
无音频
Definition: combase.h:445
#define avd_setFlag(uValue, mask)
设置uint32的某特定位为1
Definition: combase.h:65
Definition: combase.h:659
所有用户状态位
Definition: combase.h:246
const AudioCodecInst kTbIlbc
Definition: combase.h:588
Definition: combase.h:652
自动布局-分割窗口排列视频
Definition: combase.h:490
无功能点
Definition: combase.h:496
H264编解码器类型
Definition: combase.h:172
AudioRecordedType
Definition: combase.h:657
#define avd_clearFlag(uValue, mask)
清除uint32的某特定位为0
Definition: combase.h:71
录制异常(如不完整等)
Definition: combase.h:467
平台:ios系统
Definition: combase.h:518
bool operator==(const UserStatus &from) const
Definition: combase.h:281
Definition: combase.h:378
平台:windows桌面系统
Definition: combase.h:519
void clearStatus(Status flag)
清理用户状态
Definition: combase.h:274
无设备状态(如设备被拔出等)
Definition: combase.h:130
值类型为bool, 字符类型为"true" or "false":表示接收到音频数据后不解码直接丢弃,一般用于模拟客服端做并...
Definition: combase.h:393
Pcm16kHzFile
Definition: combase.h:227
网络统计信息结构.
Definition: combase.h:596
聊天:房间内公聊,私聊
Definition: combase.h:499
屏幕共享:应用,桌面
Definition: combase.h:503
整个房间中的所有音频混音
Definition: combase.h:447
FunctionType
AVD功能点定义
Definition: combase.h:495
Definition: combase.h:632
值类型为bool, 字符类型为"true" or "false":表示在音频采集时是否启用自动增益,增益打开后会自动调整麦克...
Definition: combase.h:362
值类型为bool, 字符类型为"true" or "false":表示是否优先使用硬件编码:优先使用硬件编码(true)和优先使用...
Definition: combase.h:330
Definition: combase.h:660
Definition: combase.h:524
Definition: combase.h:637
Definition: combase.h:628
Definition: combase.h:644
WavFile
Definition: combase.h:226
客户端直播路数
Definition: combase.h:511
值类型为int32, 字符类型为"3" or "2"等数字字符:设置每次断线后重连次数。系统默认为重连3次,如需改变需...
Definition: combase.h:402
const AudioCodecInst kTbPcma
Definition: combase.h:583
注释白板
Definition: combase.h:504
RoomMode
房间模式
Definition: combase.h:201
VideoQuality
视频质量类型.
Definition: combase.h:143
直播被删除
Definition: combase.h:474
VideoRotation
视频角度类型.
Definition: combase.h:160
void setStatus(Status flag)
设置用户状态
Definition: combase.h:266
已经连接上服务器
Definition: combase.h:221
MP4 文件格式,支持h264视频和aac音频封装
Definition: combase.h:458
平台:linux桌面系统
Definition: combase.h:521
DeviceStatus CameraStatus
摄像头状态
Definition: combase.h:136
Definition: combase.h:163
RoomOption
房间选项
Definition: combase.h:388
int channels
Definition: combase.h:541
P2P房间
Definition: combase.h:505
值类型为bool, 字符类型为"true" or "false":表示启用或不启用, 一般情况下都需要回音消除算法,当需要录制...
Definition: combase.h:353
值类型为CameraCapability, 字符类型为"{\"width":640,"height":480,"maxFPS":10}":表示摄像头缺省采集参数...
Definition: combase.h:295
正在直播
Definition: combase.h:472
透明通道:一对多,一对一
Definition: combase.h:498
Definition: combase.h:658
Definition: combase.h:645