The Roku Channel Store sets tight restrictions on the application’s texture memory, prohibiting channel owners to upload more than 20-60 MB (depending on the Roku device model) of image data to the Roku application.
This constraint presented a problem, as the client regarded high-resolution photos one of the chief selling points of the future solution.
To address the challenge, Oxagile’s specialists implemented a custom AWS Lambda function to convert pictures from full HD to appropriate resolution thumbnails on-the-fly. During a new image upload, the Lambda function instantly creates a thumbnail of the image and sends it to the corresponding Roku S3 folder.
When the Roku application requests the image, the backend responds with a thumbnail and the texture memory bottleneck doesn’t occur.
This approach allowed the team to successfully address the challenge in a quick and cost-effective way, without having to change the backend logic.