~/talk

How to optimize media streaming with ExoPlayer

Talkat Google I/O 2022 · 2022-05-11..05-12· [android]
links:none on file
slides:none on file

Step-by-step workshop shows adding ExoPlayer via Media3 1.0.0-alpha03, wiring a PlayerView and building an ExoPlayer object, creating MediaItem.fromUri and a MediaItem.Builder for DASH MPD adaptive streams, and tying player init/release to onStart/onResume/onPause/onStop to conserve resources. It demos playlists, a track selector constrained to SD, runtime logging via a Player.Listener including isPlaying and onPlaybackStateChanged, and the prepared app plays MP3/MP4/DASH content successfully.

AI-written summary · about

  1. 0:00Introduction to ExoPlayer
  2. 2:24Adding the player view
  3. 4:47Creating the player
  4. 6:55Managing player lifecycle
  5. 10:22Playing video and playlists
  6. 11:57Adaptive streaming
  7. 15:35Using player listeners
  8. 19:12Advanced event handling
~/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.