# RongRTCCallEngineListener

public class RongRTCCallEngineListener

## Constructors

RongRTCCallEngineListener
Link copied to clipboard
public void RongRTCCallEngineListener(Handler handler)

## Functions

onApiCallExecuted
Link copied to clipboard
public void onApiCallExecuted(String api, int error)
onAudioLevelReceive
Link copied to clipboard
public void onAudioLevelReceive(HashMap<String, String> audioLevel)
onAudioLevelSend
Link copied to clipboard
public void onAudioLevelSend(String audioLevel)
onAudioQuality
Link copied to clipboard
public void onAudioQuality(String mediaId, int quality, short delay, short lost)
onAudioVolumeIndication
Link copied to clipboard
public void onAudioVolumeIndication(int totalVolume)
onCameraReady
Link copied to clipboard
public void onCameraReady()
onConnectionInterrupted
Link copied to clipboard
public void onConnectionInterrupted()
onConnectionLost
Link copied to clipboard
public void onConnectionLost()
onError
Link copied to clipboard
public void onError(int err)
onFirstLocalVideoFrame
Link copied to clipboard
public void onFirstLocalVideoFrame(int width, int height, int elapsed)
onFirstRemoteAudioFrame
Link copied to clipboard
public void onFirstRemoteAudioFrame(String mediaId)
onFirstRemoteVideoDecoded
Link copied to clipboard
public void onFirstRemoteVideoDecoded(String mediaId, int width, int height, int elapsed)
onFirstRemoteVideoFrame
Link copied to clipboard
public void onFirstRemoteVideoFrame(String mediaId, int width, int height, int elapsed)
onJoinChannelSuccess
Link copied to clipboard
public void onJoinChannelSuccess(String channel, String sessionId, int elapsed)
onLeaveChannel
Link copied to clipboard
public void onLeaveChannel(int val)
onLocalVideoStat
Link copied to clipboard
public void onLocalVideoStat(int sentBitrate, int sentFrameRate)
onMediaEngineEvent
Link copied to clipboard
public void onMediaEngineEvent(int code)
onNetworkReceiveLost
Link copied to clipboard
public void onNetworkReceiveLost(String userId, int lossRate)
onNetworkSendLost
Link copied to clipboard
public void onNetworkSendLost(int lossRate, int delay)
onNotifyAnswerDegradeNormalUserToObserver
Link copied to clipboard
public void onNotifyAnswerDegradeNormalUserToObserver(String s, boolean b)
主持人将与会某正常用户降级为观察者
onNotifyAnswerObserverRequestBecomeNormalUser
Link copied to clipboard
public void onNotifyAnswerObserverRequestBecomeNormalUser(String userId, long status)
观察者向主持人请求成为正常用户, 主持人做出接受/拒绝之后之后, 给观察者的回调
onNotifyAnswerUpgradeObserverToNormalUser
Link copied to clipboard
public void onNotifyAnswerUpgradeObserverToNormalUser(String userId, boolean isAccept)
public enum CallUserType { NORMAL(1), OBSERVER(2);
onNotifyDegradeNormalUserToObserver
Link copied to clipboard
public void onNotifyDegradeNormalUserToObserver(String hostId, String userId)
自己已在聊天室中, 自己被降级为观察者
onNotifyHostControlUserDevice
Link copied to clipboard
public void onNotifyHostControlUserDevice(String userId, String hostId, int dType, boolean isOpen)
主持人请求打开某正常用户的麦克风/摄像头
onNotifySharingScreen
Link copied to clipboard
public void onNotifySharingScreen(String userId, boolean isSharing)
onNotifyUpgradeObserverToNormalUser
Link copied to clipboard
public void onNotifyUpgradeObserverToNormalUser(String hostUid, String userId)
自己是观察者且已在聊天室中, 主持人邀请自己升级成为正常用户时的通知, 在此回调中需要给出应答,
onRefreshRecordingServiceStatus
Link copied to clipboard
public void onRefreshRecordingServiceStatus(int status)
onRejoinChannelSuccess
Link copied to clipboard
public void onRejoinChannelSuccess(String channel, String mediaId, int elapsed)
onRemoteUserPublishStream
Link copied to clipboard
public void onRemoteUserPublishStream(String userId, String streamId, String tag)
onRemoteUserUnpublishCameraStream
Link copied to clipboard
public void onRemoteUserUnpublishCameraStream(String userId, String streamId, String tag)
onRemoteUserUnpublishStream
Link copied to clipboard
public void onRemoteUserUnpublishStream(String userId, String streamId, String tag)
onRemoteVideoStat
Link copied to clipboard
public void onRemoteVideoStat(String mediaId, int delay, int receivedBitrate, int receivedFrameRate)
onRtcStats
Link copied to clipboard
public void onRtcStats()
onUserJoined
Link copied to clipboard
public void onUserJoined(String mediaId, int userType, int methodIdentification)
onUserMuteAudio
Link copied to clipboard
public void onUserMuteAudio(String mediaId, boolean muted)
onUserMuteVideo
Link copied to clipboard
public void onUserMuteVideo(String mediaId, boolean muted)
onUserOffline
Link copied to clipboard
public void onUserOffline(String mediaId, int reason)
onVendorMessage
Link copied to clipboard
public void onVendorMessage(String mediaId, Array<byte> data)
onVideoStopped
Link copied to clipboard
public void onVideoStopped()
onWarning
Link copied to clipboard
public void onWarning(int warn)
onWhiteBoardURL
Link copied to clipboard
public void onWhiteBoardURL(String url)
sendinInvite
Link copied to clipboard
public void sendinInvite()