ExoPlayer: Media playback without pain (almost...)
summary
Android's built-in MediaPlayer is unreliable: buffering and error codes live in device firmware, state is opaque, and teams resort to local HTTP proxy caching, separate command threads and fragile hacks to avoid dropped frames. ExoPlayer replaces that with a componentized, DI-friendly architecture bundled in the app, offers adaptive DASH/HLS support, exposes getPlaybackState so code can react, and lets developers implement control buffer via LoadControl and playlists — the built player removes many device-specific failures and worked in production for cases like seamless fullscreen rotation.
AI-written summary · about
chapters (8)
- 0:00Introduction and speaker background
- 1:54Problems with Android MediaPlayer
- 6:09State machine and device fragmentation
- 13:49ExoPlayer as a solution
- 19:31ExoPlayer architecture overview
- 25:12Adaptive playback and buffer control
- 34:10ExoPlayer second version updates
- 39:18When to use ExoPlayer vs MediaPlayer
