media/library
krocard 49349f0f28 Do not hold a codec in OnFrameRenderedListener
Doing so prevent Codec which is a big object with
JNI to be garbage collected.

As the codec can not be hold in the listener, there
is no way to call release, as it must be called on
the same codec.
As a result the release method is also removed.
The downside is that at runtime some callbacks may be
dropped but it should be a short transitive state.

This also simplifies lifecycle of the listener as
the client does not have to know if release needs
to be called or not.

An alternative would have been to hold a weak ref,
but I deemed it too complicated for the
runtime gain.

PiperOrigin-RevId: 290231659
2020-01-17 16:14:51 +00:00
..
all Use new exoplayer.dev domain everywhere. 2019-04-16 15:25:27 +01:00
core Do not hold a codec in OnFrameRenderedListener 2020-01-17 16:14:51 +00:00
dash PlayerTrackEmsgHandler: Release sample queue in release() 2020-01-17 13:58:07 +00:00
hls Split SampleQueue.advanceTo for advance & seek use cases 2020-01-17 14:01:45 +00:00
smoothstreaming Make DownloadHelper pass DrmSessionManager to MediaSources 2020-01-17 13:35:21 +00:00
ui Disable chronometer for playback speeds != 1.0 2020-01-17 13:55:58 +00: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.