|
hyphenate_SDK3.0
3.6.0
hyphenatejavaIMSDK
|
类 | |
| enum | ConferenceState |
Public 成员函数 | |
| void | onMemberJoined (EMConferenceMember member) |
| void | onMemberExited (EMConferenceMember member) |
| void | onStreamAdded (EMConferenceStream stream) |
| void | onStreamRemoved (EMConferenceStream stream) |
| void | onStreamUpdate (EMConferenceStream stream) |
| void | onPassiveLeave (int error, String message) |
| void | onConferenceState (ConferenceState state) |
| void | onStreamStatistics (EMStreamStatistics statistics) |
| void | onStreamSetup (String streamId) |
| void | onSpeakers (List< String > speakers) |
| void | onReceiveInvite (String confId, String password, String extension) |
| void | onRoleChanged (EMConferenceManager.EMConferenceRole role) |
| default void | onAttributesUpdated (EMConferenceAttribute[] attributes) |
Created by lzan13 on 2017/8/16.
多人音视频会议回调接口
| void com.hyphenate.EMConferenceListener.onConferenceState | ( | ConferenceState | state | ) |
会议状态通知回调
| void com.hyphenate.EMConferenceListener.onMemberExited | ( | EMConferenceMember | member | ) |
成员离开会议
| void com.hyphenate.EMConferenceListener.onMemberJoined | ( | EMConferenceMember | member | ) |
成员加入会议
| void com.hyphenate.EMConferenceListener.onPassiveLeave | ( | int | error, |
| String | message | ||
| ) |
被动离开会议
| void com.hyphenate.EMConferenceListener.onReceiveInvite | ( | String | confId, |
| String | password, | ||
| String | extension | ||
| ) |
收到会议邀请
| confId | 会议 id |
| password | 会议密码 |
| extension | 邀请扩展内容 |
| void com.hyphenate.EMConferenceListener.onRoleChanged | ( | EMConferenceManager.EMConferenceRole | role | ) |
用于直播模式。当前登录用户角色被管理员改变
| role | 改变后的角色,可参考EMConferenceManager.EMConferenceRole |
| void com.hyphenate.EMConferenceListener.onSpeakers | ( | List< String > | speakers | ) |
当前说话者回调
| speakers | 当前说话的Stream id 集合 |
| void com.hyphenate.EMConferenceListener.onStreamAdded | ( | EMConferenceStream | stream | ) |
有新的成员推流
| void com.hyphenate.EMConferenceListener.onStreamRemoved | ( | EMConferenceStream | stream | ) |
成员停止推流
| void com.hyphenate.EMConferenceListener.onStreamSetup | ( | String | streamId | ) |
推本地流 或 订阅成员流 成功回调
| streamId | 本地流 或 成员流ID |
| void com.hyphenate.EMConferenceListener.onStreamStatistics | ( | EMStreamStatistics | statistics | ) |
统计信息回调
| void com.hyphenate.EMConferenceListener.onStreamUpdate | ( | EMConferenceStream | stream | ) |
有成员更新自己的推流,比如打开摄像头,静音等操作
1.8.11