talk-data.com
How we boosted ExoPlayer performance by 30%
Description
Video has become an integral part of our lives, and we are witnessing a significant rise in the integration of video content within Android apps. Reddit is not an exception: we have more than 20 video surfaces in our app.
In this talk, I'll share our journey of improving video rendering by 30% and approaches that go beyond what is documented.
We'll discuss: - Video metrics and what's important there - Lifecycle and challenges - Single instance of player vs PlayerPool - SurfaceView vs TextureView performance - ViewPool and AndroidView pitfalls with Jetpack Compose - Potential problems with caching
Everything that will be mentioned is validated through real production scenarios and confirmed in efficiency by A/B tests on millions of Daily Active Users in the Reddit app.