The decoded video's parameters changed: a new source's video is known, or a rotation, a crop or another filter changed the size it is shown at. Once to a few times per file; not for a source without video.
The source it belongs to (PlayerState.sourceId).
The decoded width in pixels.
The decoded height in pixels.
The width it is shown at, after aspect, rotation and the video filters (0 while unknown).
The height it is shown at, after aspect, rotation and the video filters (0 while unknown).
The frame rate the file declares, null when it declares none.
The rotation the file asks for, in degrees (0, 90, 180 or 270).
The video is HDR (PQ or HLG transfer).
The decoded audio's parameters changed: a new source's audio is known, another track plays, or the output was opened again. Not for a source without audio.
The source it belongs to (PlayerState.sourceId).
The sample rate in Hz.
The number of channels, null while unknown.
The sample format ("floatp", "s16"…), null while unknown.
The current source's audio track list or its selected track changed:
the list of a new source is known, a track was added, another was
selected. Not when the list goes away (a source closes or a new one
loads; source.ended and source.opening say so).
The source it belongs to (PlayerState.sourceId). When it is
the source of plugin.player.state, the SDK takes the tracks into
PlayerState.audioTracks first.
Its audio tracks, as PlayerState.audioTracks lists them.
The subtitle track list or the primary or secondary selection changed
for a loaded source: its tracks are known, a track was loaded or
removed, another was selected. state is the subtitle state then; the
SDK takes it into plugin.subtitles.state first, so it can be passed
as ifCurrent.
The subtitle state as the change left it.
The main window's state changed: fullscreen, maximized or
picture-in-picture flipped (at once), or its video area changed size
(once, when the size has not changed for 300 ms, so a resize gesture
sends one event at its end). The SDK takes it into
plugin.window.state first.
A panel position was shown or hidden, docked or detached, another tab
became active, or a panel came or went. backdrop is the backdrop
panel's state, null without one.
Each position, null where it has no panel.
Readonlybottom: LayoutPosition | nullThe bottom bar, null without a panel there.
Readonlysidebar: LayoutPosition | nullThe sidebar, null without a panel there.
Readonlyadjust: LayoutPosition | nullThe adjust column, null without a panel there.
Readonlybackdrop: { effective: boolean } | nullThe backdrop panel, null without one.
The audio output devices changed: one was plugged in or removed, or
the device in use changed (setAudioDevice, or the chosen one went
away and the system default plays). Checked once a second. The SDK
takes requested and active into PlayerState.audioOutput
first.
The devices, as Player.audioDevices lists them.
The device Player.setAudioDevice asked for this run, null for the system default.
The device in use, null for the system default.
The player started: once per run, after its start-up settled, behind everything start-up does.
This run's player version (App.version).
The player version of the last run with this profile, null on its first run.
The data each FactEvent carries, as the listener of Player.on gets it.
Since
1.11.0