media/library
olly 214c62c35e Clean up WavExtractor PCM output
- Make extractor output samples that are uniformly distributed
  with respect to time, with a target of ~10 samples per second.
  The old approach could in theory put every frame into its own
  sample, which would be very inefficient downstream because we'd
  need to pass them individually to MediaCodec. It could also put
  data corresponding to a long duration of time into a single
  sample (e.g. if the sample rate of the content is low), which
  is bad downstream because we decide whether to set the decodeOnly
  flag on a per sample basis. More generally, the new approach
  is more predictable :).

- Stop using the WavSeekMap to get sample timestamps, and instead
  calculate them directly from the number of frames output. It's
  more obviously correct, particularly for data formats like IMA
  ADPCM where we'll need to adjust the data prior to output.

PiperOrigin-RevId: 285750010
2019-12-18 18:50:36 +00:00
..
all Use new exoplayer.dev domain everywhere. 2019-04-16 15:25:27 +01:00
core Clean up WavExtractor PCM output 2019-12-18 18:50:36 +00:00
dash Fix bug where C.TIME_UNSET was used for calcutations. 2019-12-13 15:15:47 +00:00
hls Make DownloadHelper pass DrmSessionManager to MediaSources 2019-12-05 10:20:32 +00:00
smoothstreaming Suppress rawtypes warning when instantiating generic array 2019-12-11 13:46:39 +00:00
ui Rollback of 355ed11a3c 2019-12-10 12:37:42 +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.