From b7d53fa4b22869fd30524727e953c2add3c12fdf Mon Sep 17 00:00:00 2001 From: olly Date: Mon, 11 Oct 2021 15:21:46 +0100 Subject: [PATCH] README updates for session and media2 PiperOrigin-RevId: 402290115 --- extensions/media2/README.md | 6 +++--- extensions/mediasession/README.md | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/extensions/media2/README.md b/extensions/media2/README.md index beffaaccb3..b1926e7a6d 100644 --- a/extensions/media2/README.md +++ b/extensions/media2/README.md @@ -1,7 +1,7 @@ -# ExoPlayer Media2 extension +# Media2 module -The Media2 extension provides builders for [SessionPlayer][] and [MediaSession.SessionCallback][] in -the [Media2 library][]. +The Media2 module provides builders for [SessionPlayer][] and +[MediaSession.SessionCallback][] in the [Media2 library][]. Compared to [MediaSessionConnector][] that uses [MediaSessionCompat][], this provides finer grained control for incoming calls, so you can selectively allow/reject commands per controller. diff --git a/extensions/mediasession/README.md b/extensions/mediasession/README.md index 506b63bb41..4438dcf1d3 100644 --- a/extensions/mediasession/README.md +++ b/extensions/mediasession/README.md @@ -1,9 +1,9 @@ -# ExoPlayer MediaSession extension +# MediaSession module -The MediaSession extension mediates between a Player (or ExoPlayer) instance -and a [MediaSession][]. It automatically retrieves and implements playback -actions and syncs the player state with the state of the media session. The -behaviour can be extended to support other playback and custom actions. +The MediaSession module mediates between a `Player` and a [MediaSession][]. It +automatically retrieves and implements playback actions and syncs the player +state with the state of the media session. The behaviour can be extended to +support other playback and custom actions. [MediaSession]: https://developer.android.com/reference/android/support/v4/media/session/MediaSessionCompat.html