hyphenate_SDK3.0
3.8.1
hyphenatejavaIMSDK
|
类 | |
enum | ConferenceState |
enum | StreamFrameType |
enum | StreamState |
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) |
default void | onAdminAdded (String memName) |
default void | onAdminRemoved (String memName) |
default void | onPubStreamFailed (int error, String message) |
default void | onUpdateStreamFailed (int error, String message) |
void | onConferenceState (ConferenceState state) |
void | onStreamStatistics (EMStreamStatistics statistics) |
void | onStreamSetup (String streamId) |
default void | onStreamStateUpdated (String streamId, StreamState state) |
void | onSpeakers (List< String > speakers) |
void | onReceiveInvite (String confId, String password, String extension) |
void | onRoleChanged (EMConferenceManager.EMConferenceRole role) |
default void | onReqSpeaker (String memId, String memName, String nickName) |
default void | onReqAdmin (String memId, String memName, String nickName) |
default void | onMute (String adminId, String memId) |
default void | onUnMute (String adminId, String memId) |
default void | onMuteAll (boolean mute) |
default void | onApplySpeakerRefused (String memId, String adminId) |
default void | onApplyAdminRefused (String memId, String adminId) |
default void | onGetLivecfg (EMLiveConfig livcfg) |
default void | onGetLocalStreamId (String rtcId, String streamId) |
default void | onPubDesktopStreamFailed (int error, String message) |
default void | onFirstFrameSent (String stremId, StreamFrameType frameType) |
default void | onFirstFrameRecived (String streamId, StreamFrameType frameType) |
default void | onAttributesUpdated (EMConferenceAttribute[] attributes) |
Created by lzan13 on 2017/8/16.
多人音视频会议回调接口
default void com.hyphenate.EMConferenceListener.onAdminAdded | ( | String | memName | ) |
管理员增加通知
default void com.hyphenate.EMConferenceListener.onAdminRemoved | ( | String | memName | ) |
管理员移除通知
default void com.hyphenate.EMConferenceListener.onApplyAdminRefused | ( | String | memId, |
String | adminId | ||
) |
申请管理员失败通知(只有申请管理者收到)
default void com.hyphenate.EMConferenceListener.onApplySpeakerRefused | ( | String | memId, |
String | adminId | ||
) |
申请上麦失败通知(只有申请上麦者收到)
void com.hyphenate.EMConferenceListener.onConferenceState | ( | ConferenceState | state | ) |
会议状态通知回调
default void com.hyphenate.EMConferenceListener.onFirstFrameRecived | ( | String | streamId, |
StreamFrameType | frameType | ||
) |
Sub 首帧回调 streamId 流ID frameType the first frame callback type of the stream
default void com.hyphenate.EMConferenceListener.onFirstFrameSent | ( | String | stremId, |
StreamFrameType | frameType | ||
) |
Pub 首帧回调 streamId 流ID frameType the first frame callback type of the stream
default void com.hyphenate.EMConferenceListener.onGetLivecfg | ( | EMLiveConfig | livcfg | ) |
获取直播推流CDN 信息(成为管理员的时候,会回调有关主播推流cdn信息)
default void com.hyphenate.EMConferenceListener.onGetLocalStreamId | ( | String | rtcId, |
String | streamId | ||
) |
获取自己StreamId
void com.hyphenate.EMConferenceListener.onMemberExited | ( | EMConferenceMember | member | ) |
成员离开会议
void com.hyphenate.EMConferenceListener.onMemberJoined | ( | EMConferenceMember | member | ) |
成员加入会议
default void com.hyphenate.EMConferenceListener.onMute | ( | String | adminId, |
String | memId | ||
) |
被静音通知
default void com.hyphenate.EMConferenceListener.onMuteAll | ( | boolean | mute | ) |
被全体静音 取消全体静音通知
void com.hyphenate.EMConferenceListener.onPassiveLeave | ( | int | error, |
String | message | ||
) |
被动离开会议
default void com.hyphenate.EMConferenceListener.onPubDesktopStreamFailed | ( | int | error, |
String | message | ||
) |
发布共享桌面流失败回调
default void com.hyphenate.EMConferenceListener.onPubStreamFailed | ( | int | error, |
String | message | ||
) |
pub 流失败
void com.hyphenate.EMConferenceListener.onReceiveInvite | ( | String | confId, |
String | password, | ||
String | extension | ||
) |
收到会议邀请
confId | 会议 id |
password | 会议密码 |
extension | 邀请扩展内容 |
default void com.hyphenate.EMConferenceListener.onReqAdmin | ( | String | memId, |
String | memName, | ||
String | nickName | ||
) |
请求成为管理员通知(只有管理员能收到)
default void com.hyphenate.EMConferenceListener.onReqSpeaker | ( | String | memId, |
String | memName, | ||
String | nickName | ||
) |
请求上麦通知 (只有管理员能收到)
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 |
default void com.hyphenate.EMConferenceListener.onStreamStateUpdated | ( | String | streamId, |
StreamState | state | ||
) |
订阅流的数据状态回调
streamId | 订阅的流ID |
state | 流的视频或音频数据状态 |
void com.hyphenate.EMConferenceListener.onStreamStatistics | ( | EMStreamStatistics | statistics | ) |
统计信息回调
void com.hyphenate.EMConferenceListener.onStreamUpdate | ( | EMConferenceStream | stream | ) |
有成员更新自己的推流,比如打开摄像头,静音等操作
default void com.hyphenate.EMConferenceListener.onUnMute | ( | String | adminId, |
String | memId | ||
) |
被取消静音通知
default void com.hyphenate.EMConferenceListener.onUpdateStreamFailed | ( | int | error, |
String | message | ||
) |
update 流失败