MainSilent / Discord-Screenshare

First ever discord video screenshare SELFBOT
298 stars 78 forks source link

Laging issus #57

Open Zsl8 opened 2 years ago

Zsl8 commented 2 years ago

I don't know if this issus is from me or from the project But i'm running it in vps with 16 gb ram and the project is using just 20% of the cpu And the download spead is 400 mbit/s And the upload speed is 382 mbit/s

And the stream is laging :( image

MainSilent commented 2 years ago

The lagging issue seems to be because of chrome automation and its performance, I'm not sure what changes can improve it but I'll keep the issue open for other's suggestions, Eventually for the best screenshare bot we need a project that process and send the video frames directly to the WebRTC connection.

ihl7 commented 2 years ago

I realize that's if you streamed from YouTube it will better than streaming from direct link i think this note will help finding a solution for this issue

and sorry for my bad english

MainSilent commented 2 years ago

@ihl7 That's because for a direct link it depends on the source server speed, If the server that the video is hosted has low bandwidth and high latency It will take much more time to download and upload at the same time.