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