IRCRTCRoomEventsListener

public abstract class IRCRTCRoomEventsListener

抽象类:房间内异步事件通知方法

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
public void onCancelRequestOtherRoom(String inviterRoomId, String inviterUserId, String extra)
收到邀请者的取消跨房间连麦通知
Link copied to clipboard
public void onFinishOtherRoom(String roomId, String userId)
收到结束跨房间连麦的通知
Link copied to clipboard
public void onFirstLocalVideoFrame(String tag, int width, int height)
Link copied to clipboard
public void onFirstRemoteAudioFrame(String userId, String tag)
第一个音频包到达通知
Link copied to clipboard
public void onFirstRemoteVideoFrame(String userId, String tag)
第一个关键帧到达通知
public void onFirstRemoteVideoFrame(String userId, String tag, int width, int height)
Link copied to clipboard
@Deprecated()
public void onKickedByServer()
Link copied to clipboard
@Deprecated()
public void onLeaveRoom(int reasonCode)
Link copied to clipboard
@Deprecated()
public void onOtherRoomConnectionError(String otherRoomId)
Link copied to clipboard
public void onPublishCDNStream(RCRTCCDNInputStream stream)
Added from 5.1.
Link copied to clipboard
public abstract void onPublishLiveStreams(List<RCRTCInputStream> streams)
直播混合流资源发布 Added from 5.0.
Link copied to clipboard
public void onReceiveASRContent(RCRTCASRContent realTimeSubtitle)
语音识别结果回调通知 Add from 5.26.
Link copied to clipboard
public void onReceiveLiveStreamSEI(String sei)
观众接收到合流 SEI 通知
Link copied to clipboard
public void onReceiveMessage(Message message)
收到房间自定义状态消息
Link copied to clipboard
public void onReceiveRealtimeTranslationContent(RCRTCRealtimeTranslationContent content)
语音翻译结果回调通知 Add from 5.28.
Link copied to clipboard
public void onReceiveSEI(String userId, String sei)
接收到远端用户发送的 SEI 通知
Link copied to clipboard
public void onReceiveStartASR()
语音识别服务开启回调通知 Add from 5.26.
Link copied to clipboard
public void onReceiveStopASR()
语音识别服务停止回调通知 Add from 5.26.
Link copied to clipboard
public abstract void onRemoteUserMuteAudio(RCRTCRemoteUser remoteUser, RCRTCInputStream stream, boolean mute)
远端用户音频静默改变通知
Link copied to clipboard
public abstract void onRemoteUserMuteVideo(RCRTCRemoteUser remoteUser, RCRTCInputStream stream, boolean mute)
远端用户视频静默改变通知
Link copied to clipboard
public abstract void onRemoteUserPublishResource(RCRTCRemoteUser remoteUser, List<RCRTCInputStream> streams)
远端用户发布资源通知
Link copied to clipboard
public abstract void onRemoteUserUnpublishResource(RCRTCRemoteUser remoteUser, List<RCRTCInputStream> streams)
远端用户取消发布资源通知
Link copied to clipboard
public void onReportFirstFrame(RCRTCInputStream stream, RCRTCMediaType mediaType)
订阅远端资源成功后, 音频或视频首帧到达通知
Link copied to clipboard
public void onRequestJoinOtherRoom(String inviterRoomId, String inviterUserId, String extra)
收到邀请者的跨房间连麦通知
Link copied to clipboard
public void onResponseJoinOtherRoom(String inviterRoomId, String inviterUserId, String inviteeRoomId, String inviteeUserId, boolean agree, String extra)
收到被邀请者的跨房间连麦响应 1.
Link copied to clipboard
public void onSwitchRole(String userId, RCRTCLiveRole role)
Add from 5.1.
Link copied to clipboard
public void onUnpublishCDNStream(RCRTCCDNInputStream stream)
Added from 5.1.
Link copied to clipboard
public abstract void onUnpublishLiveStreams(List<RCRTCInputStream> streams)
直播混合流资源取消发布 Added from 5.0.
Link copied to clipboard
public abstract void onUserJoined(RCRTCRemoteUser remoteUser)
远端用户加入通知
Link copied to clipboard
public abstract void onUserLeft(RCRTCRemoteUser remoteUser)
远端用户离开通知
Link copied to clipboard
public abstract void onUserOffline(RCRTCRemoteUser remoteUser)
远端用户掉线通知
Link copied to clipboard
@Deprecated()
public void onVideoTrackAdd(String userId, String tag)
远端用户发布视频资源,订阅成功后,视频流通道建立成功的通知。 目前自动化测试会使用。