Optimizations for mobile


When embedding the for a mobile website, the CPU usage and battery drain are really quite bad. Within 5-10 mins the CPU was running hot, like really hot to the touch and my battery went down 18% in 30 mins of playing a stream. This is on a OnePlus One Android device using the Chrome browser. It actually seems worse in the default browser. I can’t imagine what it would be like for phones with even older CPU’s.

Then in the actual Twitch Android app the CPU must run cooler as my phone was not hot to the touch. The battery usage for 30 mins of stream time was 9% and that’s with the chat going also.

What is the cause of this? Is it the JS code or just the fact it’s in a browser? Can we get some optimizations at all?

Thank you :slight_smile:

1 Like

Where are you launching the embed from? Could there be multiple players on the page?

It happens the same if I just simply typed into the address bar. But normally there is only one embed code on a page.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.