# RongRTCEventHandler

public class RongRTCEventHandler

## Constructors

RongRTCEventHandler
Link copied to clipboard
public void RongRTCEventHandler(RongCallEngine engine, ICallEngineListener listener)

## Functions

onFirstRemoteAudioFrame
Link copied to clipboard
public void onFirstRemoteAudioFrame(String userId, String tag)
onFirstRemoteVideoFrame
Link copied to clipboard
public void onFirstRemoteVideoFrame(String userId, String tag)
onKickedByServer
Link copied to clipboard
public void onKickedByServer()
onLeaveRoom
Link copied to clipboard
public void onLeaveRoom(int reasonCode)
onPublishCDNStream
Link copied to clipboard
public void onPublishCDNStream(RCRTCCDNInputStream streams)
onPublishLiveStreams
Link copied to clipboard
public void onPublishLiveStreams(List<RCRTCInputStream> streams)
onReceiveASRContent
Link copied to clipboard
public void onReceiveASRContent(RCRTCASRContent realTimeSubtitle)
onReceiveMessage
Link copied to clipboard
public void onReceiveMessage(Message message)
onReceiveStartASR
Link copied to clipboard
public void onReceiveStartASR()
onReceiveStopASR
Link copied to clipboard
public void onReceiveStopASR()
onRemoteUserMuteAudio
Link copied to clipboard
public void onRemoteUserMuteAudio(RCRTCRemoteUser remoteUser, RCRTCInputStream stream, boolean mute)
onRemoteUserMuteVideo
Link copied to clipboard
public void onRemoteUserMuteVideo(RCRTCRemoteUser remoteUser, RCRTCInputStream stream, boolean mute)
远端用户打开或关闭发布的视频流。 例如用户开启或者关闭摄像头
onRemoteUserPublishResource
Link copied to clipboard
public void onRemoteUserPublishResource(RCRTCRemoteUser remoteUser, List<RCRTCInputStream> publishResource)
onRemoteUserUnpublishResource
Link copied to clipboard
public void onRemoteUserUnpublishResource(RCRTCRemoteUser remoteUser, List<RCRTCInputStream> unPublishResource)
onUnpublishCDNStream
Link copied to clipboard
public void onUnpublishCDNStream(RCRTCCDNInputStream streams)
onUnpublishLiveStreams
Link copied to clipboard
public void onUnpublishLiveStreams(List<RCRTCInputStream> streams)
onUserJoined
Link copied to clipboard
public void onUserJoined(RCRTCRemoteUser remoteUser)
onUserLeft
Link copied to clipboard
public void onUserLeft(RCRTCRemoteUser remoteUser)
onUserOffline
Link copied to clipboard
public void onUserOffline(RCRTCRemoteUser remoteUser)
onVideoTrackAdd
Link copied to clipboard
public void onVideoTrackAdd(String userId, String tag)