AVDRoomInfo.h

Includes:
"AVDCommon.h"

Introduction

Use the links in the table of contents to the left to access the documentation.



Classes

AVDRoomInfo


Enumerated Types

AVDConnectionStatus
AVDRoomMode
AVDRoomStatus

AVDConnectionStatus


enum AVDConnectionStatus { 
    init, 
    connecting, 
    connected, 
    connectFailed, 
};  
Constants
init

< 初始状态

connecting

< 正在连接服务器

connected

< 已经连接上服务器

connectFailed

< 连接服务器失败

Discussion

房间网络状态


AVDRoomMode


enum AVDRoomMode { 
    clear_set = (
        1 << 0), // use uint32ernal 
    mcu = (
        1 << 31), 
    p2p = mcu + clear_set,  
    // for room attribute 
    rm_attr_join_host_first = (
        1 << 1), 
    rm_attr_join_before_host = rm_attr_join_host_first + clear_set, 
    rm_attr_netacc = (
        1 << 2), 
    rm_attr_netacc_close = rm_attr_netacc + clear_set, 
    rm_attr_hostcontrol = (
        1 << 3), 
    rm_attr_freespeech = rm_attr_hostcontrol + clear_set, 
};  
Constants
mcu

< mcu模式

p2p

< p2p模式

rm_attr_join_host_first

< 房间中主持人要先加入其他人才能加入

rm_attr_join_before_host

< 房间中其他人可以先于主持人加入

rm_attr_netacc

< 房间中网络加速,暂不支持

rm_attr_netacc_close

< 房间中网络没有加速,暂不支持

rm_attr_hostcontrol

< 房间是场控模式,严格控制房间中的音视频,参会者默认没有音视频打开权限

rm_attr_freespeech

< 房间是自由发言模式,默认

Discussion

房间模式


AVDRoomStatus


enum AVDRoomStatus { 
    scheduled, 
    opening, 
    locked, 
    closed, 
};  
Constants
scheduled

< 已经安排好

opening

< 正在进行中

locked

< 已锁定房间:锁定房间后,新用户无法加入房间

closed

< 已关闭房间

Discussion

房间状态