# ICallEngineListener

public interface ICallEngineListener

Created by mamingyang on 18/4/20.

## Functions

onApiCallExecuted
Link copied to clipboard
public abstract void onApiCallExecuted(String api, int error)
onAudioLevelReceive
Link copied to clipboard
public abstract void onAudioLevelReceive(HashMap<String, String> audioLevel)
onAudioLevelSend
Link copied to clipboard
public abstract void onAudioLevelSend(String audioLevel)
onAudioQuality
Link copied to clipboard
public abstract void onAudioQuality(String mediaId, int quality, short delay, short lost)
onAudioVolumeIndication
Link copied to clipboard
public abstract void onAudioVolumeIndication(int totalVolume)
onCameraReady
Link copied to clipboard
public abstract void onCameraReady()
onConnectionInterrupted
Link copied to clipboard
public abstract void onConnectionInterrupted()
onConnectionLost
Link copied to clipboard
public abstract void onConnectionLost()
onError
Link copied to clipboard
public abstract void onError(int err)
onFirstLocalVideoFrame
Link copied to clipboard
public abstract void onFirstLocalVideoFrame(int width, int height, int elapsed)
onFirstRemoteAudioFrame
Link copied to clipboard
public abstract void onFirstRemoteAudioFrame(String mediaId)
onFirstRemoteVideoDecoded
Link copied to clipboard
public abstract void onFirstRemoteVideoDecoded(String mediaId, int width, int height, int elapsed)
onFirstRemoteVideoFrame
Link copied to clipboard
public abstract void onFirstRemoteVideoFrame(String mediaId, int width, int height, int elapsed)
onJoinChannelSuccess
Link copied to clipboard
public abstract void onJoinChannelSuccess(String channel, String sessionId, int elapsed)
onLeaveChannel
Link copied to clipboard
public abstract void onLeaveChannel(int val)
onLocalVideoStat
Link copied to clipboard
public abstract void onLocalVideoStat(int sentBitrate, int sentFrameRate)
onMediaEngineEvent
Link copied to clipboard
public abstract void onMediaEngineEvent(int code)
onNetworkReceiveLost
Link copied to clipboard
public abstract void onNetworkReceiveLost(String userId, int lossRate)
onNetworkSendLost
Link copied to clipboard
public abstract void onNetworkSendLost(int lossRate, int delay)
onNotifyAnswerDegradeNormalUserToObserver
Link copied to clipboard
public abstract void onNotifyAnswerDegradeNormalUserToObserver(String s, boolean b)
主持人将与会某正常用户降级为观察者
onNotifyAnswerObserverRequestBecomeNormalUser
Link copied to clipboard
public abstract void onNotifyAnswerObserverRequestBecomeNormalUser(String userId, long status)
onNotifyAnswerUpgradeObserverToNormalUser
Link copied to clipboard
public abstract void onNotifyAnswerUpgradeObserverToNormalUser(String userId, boolean isAccept)
主持人邀请观察者升级成正常用户, 观察者做出接受/拒绝之后, 给所有人的回调
onNotifyDegradeNormalUserToObserver
Link copied to clipboard
public abstract void onNotifyDegradeNormalUserToObserver(String hostUid, String userId)
onNotifyHostControlUserDevice
Link copied to clipboard
public abstract void onNotifyHostControlUserDevice(String userId, String hostId, int dType, boolean isOpen)
onNotifySharingScreen
Link copied to clipboard
public abstract void onNotifySharingScreen(String userId, boolean isSharing)
onNotifyUpgradeObserverToNormalUser
Link copied to clipboard
public abstract void onNotifyUpgradeObserverToNormalUser(String hostUid, String userId)
onRefreshRecordingServiceStatus
Link copied to clipboard
public abstract void onRefreshRecordingServiceStatus(int status)
onRejoinChannelSuccess
Link copied to clipboard
public abstract void onRejoinChannelSuccess(String channel, String mediaId, int elapsed)
onRemoteUserPublishStream
Link copied to clipboard
public abstract void onRemoteUserPublishStream(String userId, String streamId, String tag)
onRemoteUserUnpublishCameraStream
Link copied to clipboard
public abstract void onRemoteUserUnpublishCameraStream(String userId, String streamId, String tag)
onRemoteUserUnpublishStream
Link copied to clipboard
public abstract void onRemoteUserUnpublishStream(String userId, String streamId, String tag)
onRemoteVideoStat
Link copied to clipboard
public abstract void onRemoteVideoStat(String mediaId, int delay, int receivedBitrate, int receivedFrameRate)
onRtcStats
Link copied to clipboard
public abstract void onRtcStats()
onUserJoined
Link copied to clipboard
public abstract void onUserJoined(String mediaId, int userType, int methodIdentification)
onUserMuteAudio
Link copied to clipboard
public abstract void onUserMuteAudio(String userId, boolean muted)
onUserMuteVideo
Link copied to clipboard
public abstract void onUserMuteVideo(String mediaId, boolean muted)
onUserOffline
Link copied to clipboard
public abstract void onUserOffline(String userId, int reason)
onVendorMessage
Link copied to clipboard
public abstract void onVendorMessage(String mediaId, Array<byte> data)
onVideoStopped
Link copied to clipboard
public abstract void onVideoStopped()
onWarning
Link copied to clipboard
public abstract void onWarning(int warn)
onWhiteBoardURL
Link copied to clipboard
public abstract void onWhiteBoardURL(String url)
sendinInvite
Link copied to clipboard
public abstract void sendinInvite()