Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
xuning
/
livekitAndroidXuningTest
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David Liu
2021-03-20 10:58:27 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
511380e4a9a29e17efa9129189336c1d12239d2f
511380e4
1 parent
d421b47b
default implementations for room listener
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
10 行增加
和
10 行删除
livekit-android-sdk/src/main/java/io/livekit/android/room/Room.kt
livekit-android-sdk/src/main/java/io/livekit/android/room/Room.kt
查看文件 @
511380e
...
...
@@ -132,16 +132,16 @@ constructor(
}
interface Listener {
fun onConnect(room: Room)
fun onDisconnect(room: Room, error: Exception?)
fun onParticipantConnected(room: Room, participant: RemoteParticipant)
fun onParticipantDisconnected(room: Room, participant: RemoteParticipant)
fun onFailedToConnect(room: Room, error: Exception)
fun onReconnecting(room: Room, error: Exception)
fun onReconnect(room: Room)
fun onStartRecording(room: Room)
fun onStopRecording(room: Room)
fun onActiveSpeakersChanged(speakers: List<Participant>, room: Room)
fun onConnect(room: Room) {}
fun onDisconnect(room: Room, error: Exception?) {}
fun onParticipantConnected(room: Room, participant: RemoteParticipant) {}
fun onParticipantDisconnected(room: Room, participant: RemoteParticipant) {}
fun onFailedToConnect(room: Room, error: Exception) {}
fun onReconnecting(room: Room, error: Exception) {}
fun onReconnect(room: Room) {}
fun onStartRecording(room: Room) {}
fun onStopRecording(room: Room) {}
fun onActiveSpeakersChanged(speakers: List<Participant>, room: Room) {}
}
override fun onJoin(response: Rtc.JoinResponse) {
...
...
请
注册
或
登录
后发表评论