media/library
Steve Mayhew 701f343ee5 Fixes issues with EXTINF duration conversion to microseconds
The HLS Parser converts from a string decimal duration in seconds into long
 microseconds.
Because the conversion passes through a java double type it can result in
representation errors.

For example:

`#EXTINF:4.004`  -> `Segment.durationUs` of 4003999

This matters because the first sample (which is the IDR) for a segment will be discarded following a seek because of the logic in the `SampleQueue`:

````java
    buffer.timeUs = timesUs[relativeReadIndex];
    if (buffer.timeUs < startTimeUs) {
      buffer.addFlag(C.BUFFER_FLAG_DECODE_ONLY);
    }
````
2021-10-18 17:04:29 -07:00
..
all README updates for remaining ExoPlayer modules 2021-10-12 19:32:32 +01:00
common Rename releaseArtifact to releaseArtifactId 2021-10-18 22:45:47 +01:00
core Rename releaseArtifact to releaseArtifactId 2021-10-18 22:45:47 +01:00
dash Rename releaseArtifact to releaseArtifactId 2021-10-18 22:45:47 +01:00
extractor Rename releaseArtifact to releaseArtifactId 2021-10-18 22:45:47 +01:00
hls Fixes issues with EXTINF duration conversion to microseconds 2021-10-18 17:04:29 -07:00
rtsp Rename releaseArtifact to releaseArtifactId 2021-10-18 22:45:47 +01:00
smoothstreaming Rename releaseArtifact to releaseArtifactId 2021-10-18 22:45:47 +01:00
transformer Rename releaseArtifact to releaseArtifactId 2021-10-18 22:45:47 +01:00
ui Rename releaseArtifact to releaseArtifactId 2021-10-18 22:45:47 +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.