forge
Explore
Log in

Don't you dare go Hollow

Viewers decode shares at native width up to 4K instead of downscaling to 1080p

Browse files at this commit

c5e1fb0d4f9debd7dcc65e250236d70974d325d0Ahmet Kaan GümüşParent: 8cbbd6c
  • perf
    • viewers decode shares at native width up to 4K instead of downscaling to 1080p
Show full message
⚡ perf: viewers decode shares at native width up to 4K instead of downscaling to 1080p
crates/client/src/media/convert.rsmodified+1 -1
@@ -1,4 +1,4 @@
1 pub use pixel::yuv_to_bgra;1 pub use pixel::yuv_to_bgra;
2 2
3 pub const ATTACHMENT_WIDTH: u32 = 1280;3 pub const ATTACHMENT_WIDTH: u32 = 1280;
4-pub const SHARE_WIDTH: u32 = 1920;4+pub const SHARE_WIDTH: u32 = 3840;