Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onUserOffline No callback triggered #786

Open
mzyisbest opened this issue May 16, 2024 · 4 comments
Open

onUserOffline No callback triggered #786

mzyisbest opened this issue May 16, 2024 · 4 comments

Comments

@mzyisbest
Copy link

I'm on a call between ios and android. During the call, the ios side kills the process, and the other side's Android side has a callback onUserOffline.
But when android kills the process, there is no callback on onUserOffline on the IOS side.

@guoxianzhe
Copy link
Contributor

@mzyisbest This is due to system differences. When a user on the Android platform leaves, other users may receive the onUserOffline notification relatively slowly.

@liylmn
Copy link

liylmn commented May 23, 2024

@guoxianzhe The callback hasn't been triggered yet, it's not slow

@mzyisbest
Copy link
Author

+1

@guoxianzhe
Copy link
Contributor

@mzyisbest @liylmn Maybe triggers "timeout offline". If the user does not receive any data packets from the other party within a certain time frame (20 seconds for communication scenarios, slightly delayed for live scenarios), it is determined that the other party is offline. In case of poor network conditions, there is a possibility of false alarms. It is recommended to use the Netease Signaling SDK for reliable offline detection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants