~/talk

Improving Video Playback with ExoPlayer

Talkat Droidcon London 2023 · 2023-10-26..10-27· [android]
links:none on file
slides:none on file

ExoPlayer and Media3 are used end to end: MP4 progressive delivery cuts playback errors by about 5% and boosts views, so use MP4 for short clips; adaptive DASH/HLS remains for long content. Implement SimpleCache with LRU eviction, use DownloadManager for MP4s and DownloadHelper for adaptive tracks, and ensure the same TransferListener so prefetch counts toward the bandwidth meter. Tune LoadControl (min=max buffers, lower playbacks) and use decoder fallback to avoid ~401 errors. MP4 reduces playback errors by 5% prefetching improves first-frame but bandwidth-based prefetch failed in A/B tests

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:12Video challenges at Reddit
  3. 2:36Video fundamentals frames and codecs
  4. 5:01Video delivery methods
  5. 8:57Adaptive playback with ExoPlayer
  6. 11:22Improving video delivery
  7. 12:27Prefetching videos
  8. 13:10Caching in ExoPlayer
  9. 16:58Prefetching adaptive protocols
  10. 18:44Bandwidth-based prefetching
  11. 19:49Load control in ExoPlayer
  12. 23:02Bandwidth meter and bit rate selection
  13. 25:10Initial bit rate optimization
  14. 27:16Experimental bandwidth meter
  15. 27:40Improving video resolution
  16. 29:49Video decoders and errors
  17. 31:14Surface vs Texture View
  18. 32:39Jetpack Compose and video UI
  19. 34:29Key metrics and recommendations
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.