media/library
tonihei c0ee312a30 Simplify keeping track of current id in DefaultPlaybackSessionManager
We currently have a currentMediaPeriodId and an activeSessionId that are more
or less tracking the same thing unless the current media period isn't "active" yet.

Simplify this logic by using a single currentSessionId field and the respective
isActive flag of this session. Also move all session creation and activation code in
the same method to make it easier to reason about the code.

This change also fixes a subtle bug where events after a seek to a new window
are not ignored as they should.

PiperOrigin-RevId: 289432181
2020-01-13 19:58:00 +00:00
..
all Use new exoplayer.dev domain everywhere. 2019-04-16 15:25:27 +01:00
core Simplify keeping track of current id in DefaultPlaybackSessionManager 2020-01-13 19:58:00 +00:00
dash PlayerTrackEmsgHandler: Release sample queue in release() 2020-01-13 19:57:27 +00:00
hls Split HlsSampleStreamWrapper.init into two methods 2020-01-13 19:57:19 +00:00
smoothstreaming Suppress rawtypes warning when instantiating generic array 2019-12-11 13:46:39 +00:00
ui Disable chronometer for playback speeds != 1.0 2020-01-08 22:15:35 +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.