qnkhuat / tstream

Live streaming from your terminal
https://tstream.xyz
MIT License
269 stars 9 forks source link

Improve stream quality and big changes in how we send data #47

Closed qnkhuat closed 3 years ago

qnkhuat commented 3 years ago

TL;DR:

Technical note

In the previous version, any single change on the streamer's terminal is sent to the viewer. There are some problems with this approach:

But this prevents users from watching the stream in super near real-time.

But I think 3 seconds lag is fine, it's how youtube and twitch works anw.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/qnkhuat/tstream/BzVd83Vta3Q4wkRcbyquQb1dtSoa
✅ Preview: https://tstream-git-playback-qnkhuat.vercel.app

[Deployment for 9c50e90 canceled]

qnkhuat commented 3 years ago

LGTM