media/library
christosts 7d2a2aa283 Override available commands in ForwardingPlayer
This change adds an API in the ForwardingPlayer to disable commands.
This is affecting what Player.isCommandAvailable() returns as
well as what is being advertised from the
EventListener.onAvailableCommandsChanged() callback.

For the callback case, the ForwardingPlayer needs to intercept the
callback. It does so by wrapping registered EventListener and Listener
instances, which resulted in some boiler-plate code. In addition, there
is logic on the wrapped listeners to avoid triggering a queued callback
if all listeners have been removed in the meantime. This includes the
case where new listeners are added while callbacks scheduled for the
removed listeners are still pending.

PiperOrigin-RevId: 371139703
2021-04-30 11:43:48 +01:00
..
all Add Transformer "Getting started" page 2021-02-03 15:03:16 +00:00
common Override available commands in ForwardingPlayer 2021-04-30 11:43:48 +01:00
core Make copybara remove the LINT.IfChange tag 2021-04-29 17:35:05 +01:00
dash Reformat some javadoc 2021-04-29 11:43:34 +01:00
extractor Make copybara remove the LINT.IfChange tag 2021-04-29 17:35:05 +01:00
hls Re-format some javadoc 2021-04-21 18:46:00 +01:00
rtsp Allow the extractor deplete the reordering queue as much as possible. 2021-04-27 17:42:54 +01:00
smoothstreaming Re-format some javadoc 2021-04-21 18:46:00 +01:00
transformer Adds Format to MediaCodecAdapter.Configuration. 2021-04-21 09:48:46 +01:00
ui Make copybara remove the LINT.IfChange tag 2021-04-29 17:35:05 +01:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.