~/talk

Playing nicely with media controls

Talkat droidcon EMEA 2020 · 2020-10-08..10-09· [android]
links:none on file
slides:none on file

Android 11 replaces stacked media notifications with a dedicated media carousel that shows up to five recent media sessions and uses existing MediaSession APIs (since Lollipop) so no new SDK gating. Media resumption requires a MediaBrowserService and must return a recent root; UAMP proves a reliable implementation by using a Glide image cache and serialize metadata to SharedPreferences because naive network loads at boot fail. Seamless transfer uses MediaRouter AndroidX 1.2.0 RC02+, a media transfer receiver, and handles route reasons (stopped vs route changed).

AI-written summary · about

  1. 0:00Introduction
  2. 0:57Why new media controls
  3. 2:00Creating media session
  4. 4:28Updating metadata
  5. 5:52Media resumption
  6. 9:44Resuming playback
  7. 11:32Caching for reliability
  8. 12:13Seamless transfer
  9. 15:44Summary
  10. 16:27Q&A
~/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.