media/library
tonihei e9364b0f6e Clarify and correct allowed multi-threading for some Player methods
Some Player methods like getting the Looper and adding listeners
were always allowed to be called from any thread, but this is
undocumented. This change makes the threading rules of these
methods more explicit.

Removing listeners was never meant to be called from another thread
and we also don't support it safely because final callbacks may
be triggered from the wrong thread. To find potential issues, we
can assert the correct thread when releasing listeners.

Finally, there is a potential race condition when calling addListener
from a different thread at the same time as release, which may lead to
a registered listener that could receive callbacks after the player is
released.

PiperOrigin-RevId: 493843981
2022-12-12 14:23:55 +00:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common Clarify and correct allowed multi-threading for some Player methods 2022-12-12 14:23:55 +00:00
core Clarify and correct allowed multi-threading for some Player methods 2022-12-12 14:23:55 +00:00
dash Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 16:12:02 +00:00
database Reformat some javadoc 2022-02-18 15:02:33 +00:00
datasource Deprecate C.POSITION_UNSET in favour of C.INDEX_UNSET 2022-12-12 12:24:50 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:25:46 +01:00
effect Add support for changing translucency of overlays through alpha values 2022-12-12 13:19:58 +00:00
extractor Temporal fix to allow proper library shrinking. 2022-12-12 12:29:06 +00:00
hls Refactor transformation completion 2022-11-21 14:27:00 +00:00
rtsp Add javadoc links to README files 2022-12-12 13:07:19 +00:00
smoothstreaming Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 16:12:02 +00:00
transformer Transformer: Always initialize presentationTime in VTSP. 2022-12-12 13:45:31 +00:00
ui Fix gradle build 2022-12-12 11:28:57 +00:00
README.md Update to androidx.media3 2021-10-27 09:12:46 +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.