[英]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.