Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b7d53fa4
authored
Oct 11, 2021
by
olly
Committed by
Oliver Woodman
Oct 12, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
README updates for session and media2
PiperOrigin-RevId: 402290115
parent
67f9f18d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
extensions/media2/README.md
extensions/mediasession/README.md
extensions/media2/README.md
View file @
b7d53fa4
#
ExoPlayer Media2 extension
#
Media2 module
The Media2
extension provides builders for
[
SessionPlayer
][]
and
[
MediaSession.SessionCallback
][]
in
The Media2
module provides builders for
[
SessionPlayer
][]
and
the
[
Media2 library
][]
.
[
MediaSession.SessionCallback
][]
in
the
[
Media2 library
][]
.
Compared to
[
MediaSessionConnector
][]
that uses
[
MediaSessionCompat
][]
, this provides finer grained
Compared to
[
MediaSessionConnector
][]
that uses
[
MediaSessionCompat
][]
, this provides finer grained
control for incoming calls, so you can selectively allow/reject commands per controller.
control for incoming calls, so you can selectively allow/reject commands per controller.
...
...
extensions/mediasession/README.md
View file @
b7d53fa4
#
ExoPlayer MediaSession extension
#
MediaSession module
The MediaSession
extension mediates between a Player (or ExoPlayer) instance
The MediaSession
module mediates between a
`Player`
and a
[
MediaSession
][]
. It
a
nd a
[
MediaSession
][]
. It automatically retrieves and implements playback
a
utomatically retrieves and implements playback actions and syncs the player
actions and syncs the player state with the state of the media session. The
state with the state of the media session. The behaviour can be extended to
behaviour can be extended to
support other playback and custom actions.
support other playback and custom actions.
[
MediaSession
]:
https://developer.android.com/reference/android/support/v4/media/session/MediaSessionCompat.html
[
MediaSession
]:
https://developer.android.com/reference/android/support/v4/media/session/MediaSessionCompat.html
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment