ClientRole

最近更新时间:2022-09-20 05:17:40

静态 Public 属性
static final intCLIENT_ROLE_BROADCASTER = Constants.CLIENT_ROLE_BROADCASTER
static final intCLIENT_ROLE_AUDIENCE = Constants.CLIENT_ROLE_AUDIENCE

详细描述

直播场景里的用户角色。

类成员变量说明

CLIENT_ROLE_BROADCASTER

final int IRtcEngineEventHandler.ClientRole.CLIENT_ROLE_BROADCASTER = Constants.CLIENT_ROLE_BROADCASTER

1:直播主播。

CLIENT_ROLE_AUDIENCE

final int IRtcEngineEventHandler.ClientRole.CLIENT_ROLE_AUDIENCE = Constants.CLIENT_ROLE_AUDIENCE

2:直播观众(默认)。