~/talk

State of Media Playback

Talkat Android Dev Summit 2015 · on Monday, 2015-11-23· [android]
slides:none on file

Explains exactly what to implement: request and abandon audio focus, handle becoming noisy broadcast, and use the Support Library helpers. Uses MediaPlayer or third‑party backends but recommends MediaSessionCompat (set flags, setActive) and PlaybackStateCompat actions so Bluetooth/headset buttons and Android Wear/Auto work. Covers the media button receiver (Support Lib 23.1), MediaStyle notification with cancel button to work around pre‑Lollipop stopForeground bugs, MediaBrowserService for browsing and session tokens, and running as a foreground service.

AI-written summary · about

  1. 0:00Intro
  2. 1:54User Expectations
  3. 3:33Media Playback Events
  4. 5:19Audio Focus
  5. 7:55Audio Focus Loss
  6. 10:17Loss Transient
  7. 11:44Updated Life Cycle
  8. 12:48Becoming Noisy
  9. 14:36Media Buttons
  10. 17:39Media Session Compat
  11. 19:51Set Active
  12. 22:31Lock Screen Controls
  13. 26:07Notifications Helper
  14. 29:17Media Style
  15. 31:03Foreground Services
  16. 33:12Media Controller Compact
~/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.