-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[1.x] user session hangs on browser tab closed #3396
Comments
You need to provide more details. What plugin? What's the scenario? |
Hello Lorenzo. Actually that's any janus plugin I'm using, video and audio room - for sure The scenario is quite simple: let's say that when the page loads, I connect to the Janus server and join several audio rooms. If I close the tab, my handlers/session will not be destroyed, so if I open the same page again within a minute interval (default timeout) I will get a "User busy" response. |
This has nothing to do with janus, intended as the server. The session should be destroyed when closing a tab/client but that totally depends on:
For example janus.js will try to destroy the session on the browser You might want to check if those mechanisms are working in your environment and if some elements in the middle (proxies/LB) can interfere with those. |
[email protected]
Have you tested a more recent version of Janus too?
Yes. I've tried to updated my dependency from "janus-gateway": "git:https://github.com/meetecho/janus-gateway.git", to "janus-gateway": "^1.2.3", but it behaves the same
Was this working before?
It's working with janus 0.x server and [email protected] for sure
Additional context
Hello guys!
I've noticed that after I've moved from janus legacy version to a new one my users sessions is not destroyed on tab/browser closed.
It keeps hanging on the server till it will be killed by timeout. I've tried to update my janus version on a client but no use. Is there any suggestion on how to fix this or anything I can try to look into? Also I've tried to google this issues but haven't found anything pretty much related, I'm wondering an I the only one experiencing such issue?
Thanks in advance.
The text was updated successfully, but these errors were encountered: