Skip to main content

Variable: CONTENT_URI_FD_LIMIT

const CONTENT_URI_FD_LIMIT: 64 = 64;

Defined in: packages/player/src/content-uri.ts:45

How many descriptors one player keeps open at once.

mpv holds at most two streams open at a time — the entry that is playing and the one being prefetched — so this is not a working-set size: it is the distance a descriptor is kept alive after nothing can be reading it any more, expressed in distinct URIs resolved since. Sixty-four is far beyond any reachable reuse (a user would have to load 64 other content:// sources and then come back) and far below Android's per-process descriptor limit, so neither end of the trade is close.