正在显示
1 个修改的文件
包含
10 行增加
和
10 行删除
| @@ -132,16 +132,16 @@ constructor( | @@ -132,16 +132,16 @@ constructor( | ||
| 132 | } | 132 | } |
| 133 | 133 | ||
| 134 | interface Listener { | 134 | interface Listener { |
| 135 | - fun onConnect(room: Room) | ||
| 136 | - fun onDisconnect(room: Room, error: Exception?) | ||
| 137 | - fun onParticipantConnected(room: Room, participant: RemoteParticipant) | ||
| 138 | - fun onParticipantDisconnected(room: Room, participant: RemoteParticipant) | ||
| 139 | - fun onFailedToConnect(room: Room, error: Exception) | ||
| 140 | - fun onReconnecting(room: Room, error: Exception) | ||
| 141 | - fun onReconnect(room: Room) | ||
| 142 | - fun onStartRecording(room: Room) | ||
| 143 | - fun onStopRecording(room: Room) | ||
| 144 | - fun onActiveSpeakersChanged(speakers: List<Participant>, room: Room) | 135 | + fun onConnect(room: Room) {} |
| 136 | + fun onDisconnect(room: Room, error: Exception?) {} | ||
| 137 | + fun onParticipantConnected(room: Room, participant: RemoteParticipant) {} | ||
| 138 | + fun onParticipantDisconnected(room: Room, participant: RemoteParticipant) {} | ||
| 139 | + fun onFailedToConnect(room: Room, error: Exception) {} | ||
| 140 | + fun onReconnecting(room: Room, error: Exception) {} | ||
| 141 | + fun onReconnect(room: Room) {} | ||
| 142 | + fun onStartRecording(room: Room) {} | ||
| 143 | + fun onStopRecording(room: Room) {} | ||
| 144 | + fun onActiveSpeakersChanged(speakers: List<Participant>, room: Room) {} | ||
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | override fun onJoin(response: Rtc.JoinResponse) { | 147 | override fun onJoin(response: Rtc.JoinResponse) { |
-
请 注册 或 登录 后发表评论