media/library
krocard 598538253a 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 14:54:48 +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 14:54:48 +00:00
dash Add non-null by default to source.chunk 2020-01-16 13:51:50 +00:00
hls Split SampleQueue.advanceTo for advance & seek use cases 2020-01-16 20:35:04 +00:00
smoothstreaming Suppress rawtypes warning when instantiating generic array 2019-12-11 13:46:39 +00:00
ui Move @MonotonicNonNull annotations to their correct positions 2020-01-16 13:51:09 +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.