androidx / androidx/media

Why creates a lot of File descriptors when Exoplayer is playing?

Open
#1,710 0 comments 0 reactions 1 assignee View on GitHub

@rohitjoins is already working on this.

Since Sep 16, 2024.

needs triage question
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

when i use exoplayer i found that when the player is playing, it creates hundreds of file descriptor(not same on different devices manufacutor)
my test phone is google pixel 4 xl

my test demo : https://github.com/OnClickListener2048/ExoplayerDemo
here's my caculation when my application start running the file descriptor count is 126.
a.txt

and when i play a video, the fd count is growing rapidly: 347
a.txt

in my comprehension opening a remote source don't need so many fd

hope i can get response real soon

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.