Global

Members


annoSelectTypeEnum :number

注释选择类别

Type:
  • number
Properties:
Name Type Default Description
mouse number 1
draw number 2
eraser number 3

appDataKeyEnum :String

房间级别的AppData中KEY枚举

Type:
  • String
Properties:
Name Type Default Description
lecturer String meeting_lecturer
voiceActivated String voice_activated

<readonly> Appender :number

日志显示方式枚举

Type:
  • number
Properties:
Name Type Default Description
alert number 1

使用alert语句显示日志

inpage number 2

内嵌到页面显示日志

popup number 3

弹出对话框显示日志

browserConsole number 4

浏览器控制台显示日志


arrowTypeEnum :number

箭头类别

Type:
  • number
Properties:
Name Type Default Description
none number 1
begin number 2
end number 3
double number 4

AudioCodingType :number

音频编码格式枚举

Type:
  • number
Properties:
Name Type Default Description
ISAC_16k number 0
ISAC_32k number 1
opus number 2
G722 number 3
PCMA number 4
PCMU number 5

boardStatusEnum :number

注释选择类别

Type:
  • number
Properties:
Name Type Default Description
close number 0
open number 1

CameraType :number

摄像头前后置枚举

Type:
  • number
Properties:
Name Type Default Description
unknown number 0

未知

front number 1

前置

back number 2

后置


canvasTypeEnum :number

注释形状类别

Type:
  • number
Properties:
Name Type Default Description
mouse number 1
line number 2
rect number 3
ellipse number 4
polyline number 5
hlight_point number 7
hlight_texttag number 8
eraser number 9
rhomb number 11
arrow number 12
success number 13
failure number 14
clear number 17

connectionEventTypeEnum :number

箭头类别

Type:
  • number
Properties:
Name Type Default Description
sendVideo number 1
recvVideo number 2
sendAudio number 3
recvAudio number 4
conndidate number 5

ConnectionStatus :number

网络状态枚举

Type:
  • number
Properties:
Name Type Default Description
init number 0

初始状态

connecting number 1

连接中

connected number 2

连接成功

connectFailed number 3

连接失败

reJoinRoomTimeOut number 4

重新加会超时

reJoinConnected number 5

重新加会成功

reconnected number 6

重连成功


DataCryptoType :number

数据加密类型枚举

Type:
  • number
Properties:
Name Type Default Description
AES128 number 1
AES256 number 2
SM4 number 3

<constant> ErrorConstant :Object

错误码及说明

Type:
  • Object

exporterStatusEnum :number

录制状态枚举

Type:
  • number
Properties:
Name Type Default Description
stop number 0
live number 1
pause number 2

exporterTypeEnum :number

创建流导出类型枚举

Type:
  • number
Properties:
Name Type Default Description
record number 0
record_real_time number 1
liver number 2
avc_media_mixer number 7

fillTypeEnum :number

填充类别

Type:
  • number
Properties:
Name Type Default Description
none number 1
full number 2

LiveEnum :number

直播的各种类型枚举

Type:
  • number
Properties:
Name Type Default Description
VideoType number {"novideo":0,"mainflow":1,"auxiliaryflow1":2,"auxiliaryflow2":3}
AudioType number {"noaudio":0,"singleuser":1,"allusers":2}

<readonly> LogLevel :number

日志显示级别枚举

Type:
  • number
Properties:
Name Type Default Description
all number 1
trace number 2
debug number 3
info number 4
warn number 5
error number 6
fatal number 7
off number 8

<readonly> ModulesEnum :String

模块枚举

Type:
  • String
Properties:
Name Type Default Description
avdEngine String AVDEngine

引擎模块

browserDetect String BrowserDetect

浏览器检测模块

video String Video

视频模块

audio String Audio

音频模块

error String Error

错误处理模块

annotation String Annotation

批注模块

client String Client

信令模块


OperType :number

操作类型枚举

Type:
  • number
Properties:
Name Type Default Description
add number 1
remove number 2
update number 3
share number 4
close number 5

RecordEnum :number

录制各种类型枚举

Type:
  • number
Properties:
Name Type Default Description
VideoType number {"novideo":0,"mainflow":1,"auxiliaryflow1":2,"auxiliaryflow2":3}
AudioType number {"noaudio":0,"singleuser":1,"allusers":2}
FileType number {"mp4":0,"webM":1}

recorderAudioEnum :string

录制声音枚举

Type:
  • string
Properties:
Name Type Default Description
AVD_userId_allUser string userId2allUser

所有用户

AVD_userId_allUserWithoutMe string userId2withoutMe

除自己外的所有用户

AVD_userId_noneUser string userId2None

没有用户


Resolution :Object

分辨率枚举

Type:
  • Object
Properties:
Name Type Default Description
"1920*1280" Object {"width":1920,"height":1280,"order":16}
"1920*1080" Object {"width":1920,"height":1080,"order":15}
"1280*1024" Object {"width":1280,"height":1024,"order":14}
"1280*720" Object {"width":1280,"height":720,"order":13}
"960*720" Object {"width":960,"height":720,"order":12}
"640*1024" Object {"width":640,"height":1024,"order":11}
"640*960" Object {"width":640,"height":960,"order":10}
"640*480" Object {"width":640,"height":480,"order":9}
"640*360" Object {"width":640,"height":360,"order":8}
"508*360" Object {"width":508,"height":360,"order":7}
"480*854" Object {"width":480,"height":854,"order":6}
"480*800" Object {"width":480,"height":800,"order":5}
"320*480" Object {"width":320,"height":480,"order":4}
"320*240" Object {"width":320,"height":240,"order":3}
"320*180" Object {"width":320,"height":180,"order":2}
"160*120" Object {"width":160,"height":120,"order":1}

ResolutionSetType :number

分辨率设置类型枚举

Type:
  • number
Properties:
Name Type Default Description
exact number 0

强制

ideal number 1

期望,摄像头不支持,可以向下兼容


RoomCallback :String

房间级别callback枚举

Type:
  • String
Properties:
Name Type Default Description
connection_status String connection.status
connection_indicator String connection.indicator
room_status_notify String room.status.notify
app_data_notify String app.data.notify
user_data_notify String user.data.notify
user_name_notify String user.name.notify
public_data String public.data
private_data String private.data
public_message String public.message
private_message String private.message
user_join_notify String user.join.notify
user_leave_notify String user.leave.notify
leave_indication String leave.indication
close_room_result String close.room.result
close_room_notify String close.room.notify
screen_sharing_ended String screen.sharing.ended
mcu_peerconnection_completed String mcu.peerconnection.completed
outgoing_invite_status_notify String outgoing.invite.status.notify
room_control_change_notify String room.control.change.notify
mediaplay_started_notify String mediaplay.started.notify
mediaplay_stoped_notify String mediaplay.stoped.notify
mediaplay_progress_notify String mediaplay.progress.notify

RoomStatus :number

房间状态枚举

Type:
  • number
Properties:
Name Type Default Description
scheduled number 0
opening number 1
locked number 2
closed number 3

RoomTypeEnum :String

房间类型枚举

Type:
  • String
Properties:
Name Type Default Description
join_host_first String join.host.first
net_acc String net.acc
host_control String host.control
free_speech String free.speech

shapeTypeEnum :String

注释形状类别

Type:
  • String
Properties:
Name Type Default Description
mouse String 1
line String 2
rect String 3
ellipse String 4
polyline String 5
hlight_point String 7
hlight_texttag String 8
eraser String 9
rhomb String 11
arrow String 12
success String 13
failure String 14
clear String 17

StreamStatus :number

流状态枚举

Type:
  • number
Properties:
Name Type Default Description
none number 0
init number 1

初始状态

published number 2

流发布状态

muted number 3
forbided number 4
subed number 5
opened number 6

<constant> USER_AGENT_AVD_DEFAULT :String

web端加会用户user_agent默认值:web

Type:
  • String

USER_AGENT_AVD_IOS

ios safari端加会用户user_agent值:web_ios


<constant> USER_AGENT_AVD_MEDIA_MIXER :String

avc模式混屏情况下,服务器产生的混屏用户其user_agent指定值

Type:
  • String

<constant> USER_AGENT_AVD_MEDIA_MIXER_ADMIN :String

avc模式混屏情况下,web端进行混屏布局操作的用户其user_agent指定值

Type:
  • String

<constant> USER_AGENT_AVD_THROWING_SCREEN_ANONYM :String

桌面共享投屏的匿名用户其user_agent指定值.预留

Type:
  • String

<constant> USER_AGENT_AVD_VIDEO_TRANSCODING :String

服务器视频转码指定值

Type:
  • String

UserCallback :String

用户级别callback枚举

Type:
  • String
Properties:
Name Type Default Description
microphone_status_notify String microphone.status.notify
camera_status_notify String camera.status.notify
screen_status_notify String screen.status.notify
camera_data_notify String camera.data.notify
screen_data_notify String screen.data.notify
publish_camera_notify String publish.camera.notify
unpublish_camera_notify String unpublish.camera.notify
subscrible_camera_result String subscrible.camera.result
unsubscrible_camera_result String unsubscrible.camera.result
publish_screen_notify String publish.screen.notify
unpublish_screen_notify String unpublish.screen.notify
subscrible_screen_result String subscrible.screen.result
unsubscrible_screen_result String unsubscrible.screen.result
publish_microphone_notify String publish.microphone.notify
unpublish_microphone_notify String unpublish.microphone.notify
subscrible_microphone_result String subscrible.microphone.result
unsubscrible_microphone_result String unsubscrible.microphone.result
board_add_result String board.add.result
board_update_result String board.update.result
board_remove_result String board.remove.result
board_share_result String board.share.result
board_close_result String board.close.result
room_set_stream_name_rep_success String room.set.stream.name.rep.success
room_set_stream_name_rep_error String room.set.stream.name.rep.error

VideoCodingType :number

视频编码格式枚举

Type:
  • number
Properties:
Name Type Default Description
VP8 number 0
VP9 number 1
H264 number 2

VideoQualityType :number

视频质量枚举

Type:
  • number
Properties:
Name Type Default Description
high number 4

normal number 3

low number 2


viewLayoutModeEnum :number

混屏布局枚举

Type:
  • number
Properties:
Name Type Default Description
fixation number 0
auto number 1
auto_orato number 2