Independent Developer Kit

Learn how to innovate on the Roku platform with the Independent Developer Kit. Reimagine your TV with Roku app development! Join the community for help.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
nmam
Reel Rookie

brotli support missing in mkssquashfs_roku

In previous (ndk based) mkssquashfs_roku we had support for gzip, zstd and brotli compressors. With the latest IDK brotli option is missing. Also 4800x devices detect ndk generated brotli bin file as corrupt.. on all of the other devices (atleast which we have) the same brotli bin works fine. So I wanted to understand: out of gzip, zstd and brotli which compressor is supported on all roku devices ? We have been using gzip for several years in production. Recently checked brotli and it saved us over 3 MB in bin file size. zstd is also good and it reduced around 1.5 MB and we can live with that for now but now since brotli failed on 4800x I just wanted to understand what exactly is supported and on which device via both NDK and IDK.. Would replacing gzip by zstd in production be a safe choice ? please see below the available opetions in ndk vs idk mkssquashfsimage.png

 

0 Kudos
2 REPLIES 2
Paulina_Support
Channel Surfer

Re: brotli support missing in mkssquashfs_roku

Hi @nmam,

Roku stopped supporting Brotli, and the best option would be to use zstd from now on. 

0 Kudos
nmam
Reel Rookie

Re: brotli support missing in mkssquashfs_roku

@Paulina_Support thanks for the clarification. How about using compression level 22 with zstd ? With this we are seeing an additional 100 KB size reduction over and above the 1.5 MB reduction (which we get on using zstd with default level 15 compression). Should we go with the default compression level (15) or level 22 should also be fine ? Please advise, thank you.

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.