cypherbits / omeglit

omeglit.com Omegle clone in NodeJS
8 stars 2 forks source link

start #1

Closed ysakovs closed 3 years ago

ysakovs commented 3 years ago

hmm.. how to start this app?

ysakovs commented 3 years ago

There just no options to run this script. :( in package in not script start

cypherbits commented 3 years ago

Hi, I will try to document it later.

cypherbits commented 3 years ago

Hello, I just updated some things. You can run it on localhost by running node main.js --localhost.

ysakovs commented 3 years ago

Thank you for your answer! But cant run on localhost. it ask for certificate keys...

cypherbits commented 3 years ago

Did you update git? ...

ysakovs commented 3 years ago

Yes, sure!

ysakovs commented 3 years ago

Hi! So you check the script?

cypherbits commented 3 years ago

I did update the peoject... Did you update your repo and followed the new instructions on readme? Just need to run node main.js --localhost

ysakovs commented 3 years ago

I did update the peoject... Did you update your repo and followed the new instructions on readme? Just need to run node main.js --localhost

Yes! I download updated! And run on localhost by the code run node main.js --localhost . But then i get notificstion than sertificste keys not found

ysakovs commented 3 years ago

https://i.ibb.co/FYtjJhX/ssss.png

cypherbits commented 3 years ago

You don't need the [ and ] ...

ysakovs commented 3 years ago

Thank you! But app still not running! I cant press on Text OR Video buttons. And no users online count works..

ysakovs commented 3 years ago

You can see this issue on this image! https://s3.gifyu.com/images/screenrecording.gif

cypherbits commented 3 years ago

that is weird since the .js/omeglo.js should have localhost configured:

var URLConnection = "localhost:8080";
var URLProtocol = "http://";

Do you have this in that file? Can I see the Chrome console output to see what is failing?

ysakovs commented 3 years ago

Yes i have that lines on omeglo.js file...

https://i.ibb.co/tDf2WYM/wwwww.png

cypherbits commented 3 years ago

Hi, I think you updated the socket.io library... it says version 4 when the package of this app says we need 2.3.*

https://i.ibb.co/FYtjJhX/ssss.png

ysakovs commented 3 years ago

Yes! you are right! Thank you!

ysakovs commented 3 years ago

I found one issue! When i disconected from video chat and connecting again , video from stranger not showing...

cypherbits commented 3 years ago

Just updated it to 2.4.1 to fix a vulnerability. But it should still work fine.

ysakovs commented 3 years ago

Thank you for your reply! But update to 2.4.1 not fix video issue..

cypherbits commented 3 years ago

The project needs a major refactor... but I don't have time right now since this was just a test to know WebRTC technology years back. Maybe in the future I refactor it all. I will close this issue now.