olly 3e76464666 Fix download percentage reporting
- When calculating the downloaded percentage in DASH, there was no
  way to disambiguate between 0 of 0 segments being downloaded because
  there are no cached indexes (i.e. 0% downloaded) and 0 of 0 segments
  being downloaded because the index defines 0 segments (i.e. 100%
  downloaded).
- Also replace use of NaN with a named constant.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=194453202
2018-05-07 06:20:59 +01:00
..
2018-05-07 06:20:59 +01:00

ExoPlayer DASH library module

Provides support for Dynamic Adaptive Streaming over HTTP (DASH) content. To play DASH content, instantiate a DashMediaSource and pass it to ExoPlayer.prepare.

  • Javadoc: Classes matching com.google.android.exoplayer2.source.dash.* belong to this module.