media/library
ibaker 01ae2b047f Remove expectedResolvedLength from DataSourceContractTest
Whether a resource resolves to a known length or not is more than just
a property of the resource & data source - for example if
`DataSpec.flags` contains `ALLOW_GZIP` then the length might be
unresolved. More generally, a `DataSource` could randomly return
`C.UNKNOWN_LENGTH` from `open()` 50% of the time and still fulfil the
`DataSource` interface. This makes it ~impossible to write a meaningful
assertion aroun this.

So this change relaxes the assertion slightly to more closely match the
definition of the `DataSource` interface.

We leave the `resolveToUnknownLength` toggle in
`WebServerDispatcher.Resource` because this is still useful for
simulating the case of a server that is serving a file it doesn't
know the length of.

PiperOrigin-RevId: 351124246
2021-01-11 18:05:24 +00:00
..
all Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
common Improve user-agent configuration 2021-01-11 18:04:43 +00:00
core Remove expectedResolvedLength from DataSourceContractTest 2021-01-11 18:05:24 +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.