Each is sent once when its fact changes, never as a stream, and a
listener of one does not keep the plugin running: the player starts a
plugin in standby to deliver them. A fact of one source
(video.reconfigured, audio.reconfigured, audio.tracks.changed,
subtitles.changed) comes after that source's source.opening, and
again for each new source. FactEventPayloads says when each one
is sent and what it carries.
A plugin lists the current file's audio tracks in a menu. The listener gets the list each time it changes (a new file, a track added, another track selected), so the plugin needs no stream of its own.
plugin.player.on("audio.tracks.changed", ({ audioTracks }) =>
showTracks(audioTracks.map((track) => track.title ?? `Track ${track.id}`)),
);
The player's facts that changed: one event per change, which Player.on listens to by name.