tree: af58208fd3f2376f7d354ba2de5156b69a25e5c7 [path history] [tgz]
  1. public/
  2. audio_focus_manager.cc
  3. audio_focus_manager.h
  4. audio_focus_manager_metrics_helper.cc
  5. audio_focus_manager_metrics_helper.h
  6. audio_focus_manager_unittest.cc
  7. BUILD.gn
  8. controlling_media_playback.md
  9. DEPS
  10. manifest.json
  11. media_controller.cc
  12. media_controller.h
  13. media_controller_unittest.cc
  14. media_session_service.cc
  15. media_session_service.h
  16. media_session_service_unittest.cc
  17. OWNERS
  18. README.md
services/media_session/README.md

Media Session

Media Session manages the media session and audio focus for playback across the entire system.

Clients can use the Audio Focus API to request audio focus and observe changes through AudioFocusObserver. The Media Session API can be used to control playback and observe changes through MediaSessionObserver.

For more details about controlling playback see controlling Media Playback.

TODO(beccahughes): Write docs about requesting audio focus.