Skip to main content

Variable: DEFAULT_USER_AGENT

const DEFAULT_USER_AGENT: "timbre (libmpv)" = 'timbre (libmpv)';

Defined in: packages/player/src/player.ts:1428

Default HTTP User-Agent.

mpv's own default is the bare string libmpv, which streaming hosts blocklist (see PlayerOptions.userAgent for the observed 401). This stays honest — it names the engine — without matching those exact-string bans. Overridable per player via userAgent, or raw via mpvOptions['user-agent'].