media/library
olly 36efdc7492 Fix MP4 sniffing for very short files
The sniffer sniffs boxes at the start of the file to try and determine
whether the file is fragmented. However, if the file is extremely short
then it's possible that sniffing will try and read beyond the end of
the file, resulting i EOFException being thrown.

In general it's OK for sniffing to throw EOFException if the file is
not of the correct type. The problem in this case is that EOFException
can be thrown for an actual MP4 file, due to the sniffer continuing up
sniff atoms up to bytesToSearch in case the file is fragmented.

PiperOrigin-RevId: 325205389
2020-08-19 18:14:45 +01:00
..
all Use new exoplayer.dev domain everywhere. 2019-04-16 15:25:27 +01:00
core Fix MP4 sniffing for very short files 2020-08-19 18:14:45 +01:00
dash Let MediaSourceFactory setDrmSessionManager accept null 2020-05-29 21:15:17 +01:00
hls Let MediaSourceFactory setDrmSessionManager accept null 2020-05-29 21:15:17 +01:00
smoothstreaming Let MediaSourceFactory setDrmSessionManager accept null 2020-05-29 21:15:17 +01:00
ui Prevent shutter closing for within-window seeks to unprepared periods 2020-06-17 20:19:11 +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.