Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce band-wind in streaming #40

Open
lemunozm opened this issue Feb 17, 2021 · 1 comment
Open

Reduce band-wind in streaming #40

lemunozm opened this issue Feb 17, 2021 · 1 comment

Comments

@lemunozm
Copy link
Owner

This issue comes from reddit

It seems like the streaming data can be reduced on the sender side to reduce the band-wind.

@lemunozm
Copy link
Owner Author

Regarding "YUYV format, which contains 2 pixels per 4-byte block", until I can see, the YUYV format seems to hold the same data as RGB format for each 4-byte. So we can not reduce the band wind there. But we can do it in two other ways:

  • Reducing the size of the frame sent. Currently, the frame is really high for a terminal application: 640 * 480. By default could be less or even we can ask the receiver the expected size (which can take more effort to do, but more accuracy).
  • Since the data will be rendered as xterm color. the RGB can be converted to xterm (1-byte) on the sender side, reducing the band wind to a third part.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant