media/library
olly 7e295cbfc9 Simplify bypass buffer batching
BatchBuffer has three different clear methods (clear, flush,
batchWasConsumed), and it's not hugely clear what each of them
does. In general, BatchBuffer owning the sample buffer seems
more complicated than having the caller own it, particularly
when it can be "pending" inside of the batch buffer.

This change moves ownership of the sample buffer to the
caller. BatchBuffer is simplified as a result. There are also
two behaviour changes:

1. The buffer's timeUs field is now set to the first sample's
   timestamp, rather than the last sample's.
2. A key-frame in the middle of the batch no longer causes the
   batch buffer to be considered a key-frame. Which seems like
   the right thing to do, because the batched data cannot be
   decoded independently of whatever came before it.

PiperOrigin-RevId: 350921306
2021-01-11 18:04:33 +00:00
..
all Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
common Rollback of ff8c8645ab 2021-01-11 18:04:22 +00:00
core Simplify bypass buffer batching 2021-01-11 18:04:33 +00:00
dash PlayerEmsgHandler: Track stream max chunk times separately 2021-01-08 18:48:21 +00:00
extractor Rollback of ff8c8645ab 2021-01-11 18:04:22 +00:00
hls Reload HLS media playlist when merging delta update fails 2021-01-08 15:31:54 +00:00
smoothstreaming Add live configuration to Timeline.Window 2020-12-14 10:17:23 +00:00
ui Update Styled non bottom buttons to be borderless. 2021-01-08 15:32: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.