media/library/common/src/main/java/com/google/android/exoplayer2
olly d8b5a1d7f4 Contract test for end-position-out-of-range case
Assert that an exception is not thrown from DataSource.open
if the DataSpec's start position is valid but its end position
extends beyond the end of the data.

HTTP based DataSource implementations have no good way of
knowing when this is the case, so it makes sense to make this
the required behaviour, rather than requiring an exception to
be thrown or allowing both.

There are also use cases where the caller may want to use the
end position as an upper bound, without knowing for sure how
long the content is. An example of this use case is wanting to
pre-cache the first N bytes of a stream. This implies that any
exception should be thrown after reading to the end of the
data, rather than preemptively in open.

Issue: #7326
PiperOrigin-RevId: 359063721
2021-02-24 15:46:02 +00:00
..
audio Add @Documented to FieldNumber @IntDef 2021-02-23 12:29:35 +00:00
decoder Throw specific exception if input buffer is too small 2021-01-12 08:46:15 +00:00
device Add @Documented to FieldNumber @IntDef 2021-02-23 12:29:35 +00:00
drm Fully document ExoMediaDrm 2021-01-15 10:56:37 +00:00
metadata Implement a segment based speed provider and interface. 2021-01-18 22:00:19 +00:00
offline simplify PlayerActivity towards using the media item only 2020-04-08 21:47:48 +01:00
source Add ConcatenatingMediaSource version that fully combines windows. 2021-02-19 10:58:05 +00:00
text Simple migration to common 2020-12-03 17:11:56 +00:00
trackselection Add static TrackSelection type 2021-02-19 10:56:27 +00:00
upstream Contract test for end-position-out-of-range case 2021-02-24 15:46:02 +00:00
util De-duplicate DRM acquire & release events by EventDispatcher 2021-02-23 12:29:43 +00:00
video Fall back to AVC/HEVC for Dolby Vision levels 10-13 2021-02-04 09:57:46 +00:00
BasePlayer.java Mark convenience methods as final in BasePlayer 2021-02-23 15:06:28 +00:00
Bundleable.java Remove nullable utility methods in Bundleable 2021-02-19 10:57:32 +00:00
C.java Move Player in common 2021-01-25 15:37:48 +00:00
ControlDispatcher.java Make additional modules depend only on common 2021-02-09 13:59:41 +00:00
DefaultControlDispatcher.java Make additional modules depend only on common 2021-02-09 13:59:41 +00:00
ExoPlaybackException.java More clearly define the semantics of error recovery 2021-02-04 18:14:26 +00:00
ExoPlayerLibraryInfo.java Bump version to 2.13.1 2021-02-12 19:55:57 +00:00
Format.java Rollback of 483a350e84 2020-11-24 16:02:45 +00:00
IllegalSeekPositionException.java Move Timeline to common 2020-12-03 17:11:38 +00:00
MediaItem.java Add @Documented to FieldNumber @IntDef 2021-02-23 12:29:35 +00:00
MediaMetadata.java Add @Documented to FieldNumber @IntDef 2021-02-23 12:29:35 +00:00
package-info.java Split out extractor and common modules 2020-01-24 18:15:19 +00:00
ParserException.java Split out extractor and common modules 2020-01-24 18:15:19 +00:00
PlaybackParameters.java Simple migration to common 2020-12-03 17:11:56 +00:00
PlaybackPreparer.java Make additional modules depend only on common 2021-02-09 13:59:41 +00:00
Player.java Align pattern of calling deprecated listener methods. 2021-02-22 10:35:30 +00:00
Timeline.java Add ConcatenatingMediaSource version that fully combines windows. 2021-02-19 10:58:05 +00:00