hyphacoop / crispy-couscous

MIT License
1 stars 0 forks source link

No audio and video #1

Open uditvira opened 2 years ago

uditvira commented 2 years ago

Scenario: Two users connected: udit @uditvira and E @ASoTNetworks "u" is a ghost of a previous user Screen Shot 2022-04-14 at 5 54 14 PM

Here's a screenshot of my dev console: Screen Shot 2022-04-14 at 5 58 02 PM

uditvira commented 2 years ago

Elon's image image2

Connoropolous commented 2 years ago

Commented in the Signal chat, but I am copying here since this is the context where we saw the issue arise, and for tracking purposes: " Ok so we are experiencing an issue that other's have experienced: one logging of such issue is reported here: https://github.com/peers/peerjs/issues/809 I'm getting a connection time out to the default peer cloud server. Failed to load resource: net::ERR_CONNECTION_TIMED_OUT https://0.peerjs.com/peerjs/id?ts=16153877619780.2194956755253794 github.com This comment suggests there was big disruptions last year: https://github.com/peers/peerjs/issues/805#issuecomment-797810084

This could be a matter of bad luck and bad timing. Because it links to https://status.us.ovhcloud.com/ which apparently free Peerjs cloud servers are running on? :S And then that links says that there is 'planned maintenance in progress' April 5, 2022 1:00PM - May 4, 2022 5:00AM UTC :s I resonate with the other devs who say 'this makes me feel better about my code' (grim haha) because it explains why things have been variable This was the true 'ghost issue' I was reporting on previously We should likely expect as much from a free server... There IS the code open source, and looks quite deployable, that you would need to fix that... https://github.com/peers/peerjs-server If Hypha could push a deployment of it it's one path to succes success* "

Connoropolous commented 2 years ago

Looks like there is also this info about it: https://peerjs.com/peerserver https://stats.uptimerobot.com/B7Ww3sDBVz

Connoropolous commented 2 years ago

The README of the server repo suggests "Gitpod" (which to-be-honest I've never heard of) https://github.com/peers/peerjs-server

Screen Shot 2022-04-14 at 3 41 18 PM
uditvira commented 2 years ago

I have a peerjs server running on 143.110.213.122 port 9000

Connoropolous commented 2 years ago

Edit these lines: https://github.com/hyphacoop/crispy-couscous/blob/2f8e84c00868b8f159c2aca65f1a5629fd7ebf62/src/js/renderables/player.js#L49-L52

uditvira commented 2 years ago

After adding SSL and changing lines 49-52, I'm seeing these errors: Screen Shot 2022-04-14 at 9 14 48 PM