My IMP(低代码音视频工厂)SDK v1.5.0
IMP SDK API Reference Manual for Android Platforms
com.aliyun.roompaas.rtc.exposable.RtcEventHandler Interface Reference

Public Member Functions

void onRtcJoinRtcSuccess (View view)
 
void onRtcJoinRtcError (String event)
 
void onRtcStreamIn (RtcStreamEvent event)
 
void onRtcStreamOut (String event)
 
void onRtcStreamUpdate (RtcStreamEvent event)
 
void onRtcRemoteJoinSuccess (ConfUserEvent event)
 
void onRtcRemoteJoinFail (ConfUserEvent event)
 
void onRtcConfUpdated (ConfEvent event)
 
void onRtcRingStopped (ConfStopRingEvent event)
 
void onRtcUserInvited (ConfInviteEvent event)
 
void onRtcKickUser (ConfUserEvent event)
 
void onRtcLeaveUser (ConfUserEvent leaveUserEvent)
 
void onRtcStart (ConfEvent confStartEvent)
 
void onRtcEnd (ConfEvent confEndEvent)
 
void onRtcCommand (ConfCommandEvent event)
 
void onRtcApplyJoinChannel (ConfApplyJoinChannelEvent event)
 
void onRtcHandleApplyChannel (ConfHandleApplyEvent event)
 
void onRtcNetworkQualityChanged (String uid)
 
void onConnectionLost ()
 
void onTryToReconnect ()
 
void onConnectionRecovery ()
 
void onConnectionStatusChange (AliRtcEngine.AliRtcConnectionStatus status, AliRtcEngine.AliRtcConnectionStatusChangeReason reason)
 
void onRtcUserAudioMuted (String uid)
 
void onRtcUserAudioEnable (String uid)
 
void onRtcUserVideoMuted (String uid)
 
void onRtcUserVideoEnable (String uid)
 
void onRtcUserAudioMutedError (boolean mute, String uid)
 
void onRtcUserVideoMutedError (boolean mute, String uid)
 

Detailed Description

Author
puke
Version
2021/7/2

Member Function Documentation

◆ onConnectionLost()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onConnectionLost ( )

网络断开回调

◆ onConnectionRecovery()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onConnectionRecovery ( )

网络重连成功回调

◆ onConnectionStatusChange()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onConnectionStatusChange ( AliRtcEngine.AliRtcConnectionStatus  status,
AliRtcEngine.AliRtcConnectionStatusChangeReason  reason 
)

网络连接状态改变的回调

◆ onRtcApplyJoinChannel()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcApplyJoinChannel ( ConfApplyJoinChannelEvent  event)

申请连麦消息

◆ onRtcCommand()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcCommand ( ConfCommandEvent  event)

命令消息

◆ onRtcConfUpdated()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcConfUpdated ( ConfEvent  event)

会议状态变更消息

◆ onRtcEnd()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcEnd ( ConfEvent  confEndEvent)

RTC会议结束

Parameters
confEndEvent

◆ onRtcHandleApplyChannel()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcHandleApplyChannel ( ConfHandleApplyEvent  event)

申请连麦被拒绝

◆ onRtcJoinRtcError()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcJoinRtcError ( String  event)

进入会议失败

◆ onRtcJoinRtcSuccess()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcJoinRtcSuccess ( View  view)

进入房间

◆ onRtcKickUser()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcKickUser ( ConfUserEvent  event)

挂断消息

◆ onRtcLeaveUser()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcLeaveUser ( ConfUserEvent  leaveUserEvent)

RTC离会

Parameters
leaveUserEvent

◆ onRtcNetworkQualityChanged()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcNetworkQualityChanged ( String  uid)

RTC 网络状态变化

◆ onRtcRemoteJoinFail()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcRemoteJoinFail ( ConfUserEvent  event)

入会失败

◆ onRtcRemoteJoinSuccess()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcRemoteJoinSuccess ( ConfUserEvent  event)

入会成功

◆ onRtcRingStopped()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcRingStopped ( ConfStopRingEvent  event)

停止响铃消息

◆ onRtcStart()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcStart ( ConfEvent  confStartEvent)

RTC会议开始

Parameters
confStartEvent

◆ onRtcStreamIn()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcStreamIn ( RtcStreamEvent  event)

新流进入

◆ onRtcStreamOut()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcStreamOut ( String  event)

老流退出

◆ onRtcStreamUpdate()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcStreamUpdate ( RtcStreamEvent  event)

流更新

◆ onRtcUserAudioEnable()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcUserAudioEnable ( String  uid)

音频可用

◆ onRtcUserAudioMuted()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcUserAudioMuted ( String  uid)

音频静音

◆ onRtcUserAudioMutedError()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcUserAudioMutedError ( boolean  mute,
String  uid 
)

静音失败

Parameters
mute
uid

◆ onRtcUserInvited()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcUserInvited ( ConfInviteEvent  event)

邀请消息

◆ onRtcUserVideoEnable()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcUserVideoEnable ( String  uid)

视频可用

◆ onRtcUserVideoMuted()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcUserVideoMuted ( String  uid)

视频静音

◆ onRtcUserVideoMutedError()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onRtcUserVideoMutedError ( boolean  mute,
String  uid 
)

开关摄像头失败

Parameters
mute
uid

◆ onTryToReconnect()

void com.aliyun.roompaas.rtc.exposable.RtcEventHandler.onTryToReconnect ( )

尝试网络重连回调


The documentation for this interface was generated from the following file: