简体   繁体   English

如何在android中的视频通话期间在agora中显示用户状态(离线,在线)

[英]How to show user status (offline, online) in agora during a video call in android

I just want to know the method in agora I can use to get the status when user is online or offline during a video call.我只想知道在视频通话期间用户在线或离线时可以使用agora中的方法来获取状态。 I am using onUseroffline() method but i can't get status when user is online.我正在使用 onUseroffline() 方法,但是当用户在线时我无法获得状态。

Got it solved.解决了。 Basically we have to wait 20 seconds for user to go offline.基本上我们必须等待 20 秒让用户下线。 After 20 seconds onUserOffline() is called and when user rejoins onUserjoined() is called. 20 秒后 onUserOffline() 被调用,当用户重新加入时 onUserjoined() 被调用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Android:如何在quickblox中获取在线或离线用户状态? - Android: How to get online or offline user status in quickblox? Firebase 连接检查 Android 中的在线离线状态 - Firebase connection check online offline status in Android 如何显示用户在线? - How to show Online of a user? 如何配置IntelliJ for Mac在编辑器中显示Java和Android文档(脱机,不在线)? - How to configure IntelliJ for Mac to show Java and Android documentation within the editor (offline, not online)? 在GWT中检测脱机和联机状态 - Detecting offline and online status in GWT 如何在android中的圆形卡片视图中弯曲一小部分以显示在线状态图标占据底部 - How to curve a small part in a circular cardview in android to show the online status icon occupy at the bottom Agora.io 在 android 锁定屏幕几分钟后停止视频通话 - Agora.io Video call stops after some minutes of lock screen in android 使用户在线/离线状态 - Get User online/offline state 如何在java websocket上线后发送离线用户的消息? - How to send messages of offline user after getting online in java websocket? 当用户脱机时显示对话框,并在用户脱机时关闭对话框(使用broadcastReceiver) - Show dialog when user becomes offline and dismiss it when user becomes online (with broadcastReceiver)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM