Comments (13)
Hello, is this related to #386 issue?
Please be more specific, where your experience is hosted, which adapter you're using, do you see errors in the console? Can you define "after some time"? Is this seconds, minutes, hours?
There is probably an issue in the easyrtc adapter, the websocket or a WebRTC connection close.
First can you confirm if you reproduce the issue with wseasyrtc or not? So we will be sure if the issue is with the websocket connection or the WebRTC connections.
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.
from networked-aframe.
Can you please make a screenshot of the web console when it happens, thanks.
from networked-aframe.
i'm sorry this is. The other one is closed and I couldn't add to it. Or can I sense it is closed?
from networked-aframe.
The other issue is still open.
Ok so the datachannel is closing, no error. What time did you have to wait exactly?
And if you use adapter:wseasyrtc on networked-scene, do you have the issue too?
from networked-aframe.
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?
from networked-aframe.
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 networked-aframe.
From the screenshot you gave with the datachannels logs, it seems you use the easyrtc adapter.
To help debugging the issue, can you please test if you reproduce the issue with adapter: wseasyrtc
in networked-scene=
, that's it the examples/basic.html
example instead of examples/basic-audio.html
which use the adapter: easyrtc
adapter by default.
From your comment in the previous issue, you're hosting it on your ubuntu machine and I'm assuming you git cloned the networked-aframe repo and run one of the example with npm run dev
or npm start
and that's not hosted on free glitch where the server may shut down for inactivity I think. Is that right?
Do you use chrome on the ubuntu machine or another OS?
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.
Do you do steps that are different than mine?
from networked-aframe.
I still ran it with mic muted for another 30min, I'm still connected.
from networked-aframe.
I'll try with the basic.html one and seee if that happens. So I need to change it from wseasyrtc to easyrtc?
from networked-aframe.
Just an update. Changing from wseasyrtc to easyrtc in adapter: easyrtc; work. I'm still connected. thank you.
from networked-aframe.
Ah so you were testing nametag example previously that used adapter: wseasyrtc
I didn't pay attention this one used wseasyrtc.
The logs are misleading, with "Opening datachannel to xyz", I thought it was WebRTC datachannel so using the easyrtc adapter, but no it used wseasyrtc adapter actually, just sending the data through the websocket.
So there is indeed an issue with wseasyrtc, stillAlive
messages stops being sent at one point and the connection close.
Using the easyrtc adapter will create a WebRTC connection between participants, having that the user will stay connected.
You can reproduce the problem even with easyrtc adapter if you are alone in the room.
stillAlive message stops after the fifth, every stillAlive message are sent every 20s, so you are disconnected after 120s.
It happens only on Chrome, I don't reproduce it on Firefox. I guess it's a browser specific behavior and not an issue in the library.
from networked-aframe.
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?
from networked-aframe.
wseasyrtc is websocket only, data goes through websocket, no audio/video, easyrtc supports audio/video via WebRTC, data goes through WebRTC datachannel.
from networked-aframe.
Related Issues (20)
- User names? HOT 4
- Is it possible to display mirror image of the video in `networked-video-source` HOT 2
- Adjusting the Inactivy user? HOT 5
- charnging ports? HOT 4
- NPM install errors. HOT 9
- Nametag: Not a issue but a question. HOT 2
- Be in networked aframe but not be there? HOT 4
- didn't manage to get hand tracking working HOT 5
- User in new position with each refresh?
- Add ability to add networked entity to non-networked parent HOT 7
- Share Screen Issue HOT 1
- stuck with npm i on a RPi Zero HOT 5
- Write a "how it works" documentation HOT 12
- Not a issue but really need some help. Trying to add pre-text pharses above the character. HOT 1
- networked-video-source should respect the video aspect ratio HOT 1
- Create a web component to show connected users HOT 10
- [networked-audio-zone] Private audio zone HOT 1
- https for audio? HOT 1
- Audio chat example low volume? HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from networked-aframe.