google / google/ExoPlayer

HlsDownloader - the downloaded bytes size is different during multiple downloads of the same file

Open
#10,414 0 comments 0 reactions 1 assignee Claimed by @marcbaechinger View on GitHub
needs triage question
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I am using HlsDownloader for download hls file, but detected that file has not been downloaded completly(not all the time), howewer i see that callback returns 100% dowloaded status. When I do not pass the executors into constructor of HlsDownloader then it is ok, file donwloading completly, but when I am passing the Executors for speed up the download then I see that some times file doesnt download completly.
Here is code snippet how I use HlsDownloader:
```
val hlsDownloader = HlsDownloader(
media,
cacheFactory,
Executors.newFixedThreadPool(6)
)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.