media/library
claincly e4c9078a0c Infer error code in network-based DataSourceException.
In some DataSources, it is not easy to assign an error code at the throw site.
For example, CronetDataSource.readInternal() throws SocketTimeoutException
on L1033, and is caught at L754 as IOException and is thrown.

We need the logic to assign error code for the actual type of the error cause.
While we can certainly do in individual DataSources, IMO there's value in
making this logic generic at a higher level (like what is in this CL).

The catch and translation logic is borrowed from EPII:L646.

PiperOrigin-RevId: 385789629
2021-07-21 14:46:40 +01:00
..
all Include RTSP module in gradle project 2021-05-10 23:41:50 +01:00
common Infer error code in network-based DataSourceException. 2021-07-21 14:46:40 +01:00
core Infer error code in network-based DataSourceException. 2021-07-21 14:46:40 +01:00
dash Add RepresentationHolder.selectedBaseUrl and use it for new chunks 2021-07-16 11:24:21 +01:00
extractor Check for TS synchronization before parsing packet from random position 2021-07-16 11:22:55 +01:00
hls Add flag to SinglePeriodTimeline to suppress projection 2021-07-20 08:58:01 +01:00
rtsp Make network-based DataSource implementations use ErrorCode. 2021-07-14 12:19:49 +01:00
smoothstreaming Make customization of fallback selection more flexible 2021-07-09 09:04:43 +01:00
transformer Remove ExoPlaybackException factory method that doesn't take errorCode 2021-07-09 09:10:19 +01:00
ui Set StyledPlayerView/PlayerView artwork from MediaMetadata. 2021-07-21 14:41:20 +01: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.