-
Notifications
You must be signed in to change notification settings - Fork 295
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
Disconnecting when going to a new browser Tab after some time. #390
Comments
Hello, is this related to #386 issue? I have a separate issue with the janus adapter, it works too well, the user stay connected forever, I need to implement kicking the user if it stays idle for like 6h lol. |
Can you please make a screenshot of the web console when it happens, thanks. |
The other issue is still open. |
To be honest I wasn't keeping track of the time. maybe after 10 minutes or more.But I need to try it again to see. Do you want to close the other post out or delete it? |
Hello, I'm using all defsult settings and code from what was downloaded and installed from network-aframe. Nothing changed. I only have npm, nodejs and git downloaded nothing else. |
From the screenshot you gave with the datachannels logs, it seems you use the easyrtc adapter. I launched the basic-audio example both on firefox and chrome on a backgrounded tab with mic active on both on my ubuntu 22.04 machine where I configured a certificate in server/easyrtc-server.js to have https and I don't reproduce the issue, after 10min I wasn't disconnected. I see stillAlive messages for both browsers on a regular basis. |
I still ran it with mic muted for another 30min, I'm still connected. |
I'll try with the basic.html one and seee if that happens. So I need to change it from wseasyrtc to easyrtc? |
Just an update. Changing from wseasyrtc to easyrtc in adapter: easyrtc; work. I'm still connected. thank you. |
Ah so you were testing nametag example previously that used |
Hello vincet, that worked. I'm able to stayalive with no problems now. Thank you, I have one question what is the difference between wseasyrtc and easyrtc? |
wseasyrtc is websocket only, data goes through websocket, no audio/video, easyrtc supports audio/video via WebRTC, data goes through WebRTC datachannel. |
Hello, I'm noticing if I go to a new tab on the browser after some time it seems that the networked-aframe disconnects me. I can still move around the scene but I'm not connected to the server. Is there a way to stop that and still remain connected?
Joseph
The text was updated successfully, but these errors were encountered: