@vestra-player/sdk - v1.11.3
    Preparing search index...

    Platforms

    A plugin uses the same API on macOS and Windows; the player does the system-specific part. This table lists everything that behaves differently. A call that a system cannot serve fails with unsupported, so a plugin handles that code instead of testing for the system (plugin.app.system() tells the system when a plugin must know).

    Feature macOS Windows
    Clipboard Text; PNG and JPEG images as their original bytes. Text; images are converted to a bitmap and PNG.
    Power.preventSleep caffeinate. The thread execution state.
    Dialogs.confirm For the main window: drawn in the player, as on Windows. For a tool window that has the focus: an NSAlert sheet on it, with the custom buttons and the checkbox; destructive gives the confirm button red text. For the main window: drawn in the player in the style of its approval sheet (a long detail scrolls, the checkbox at the left of [confirm Enter] [cancel Esc]; destructive draws nothing different). For a tool window that has the focus: a task dialog owned by it, titled "Vestra Player", with the custom buttons: message is the main instruction and detail the text below it; a checkbox is the dialog's own verification box (no second dialog); destructive shows a warning icon; no system sound. Either way checked is reported on cancel too.
    MainWindow.setAlwaysOnTop The floating window level. Topmost window.
    MainWindow.setVideoArea The visible screen area, without the menu bar and the Dock. The whole display.
    MainWindow.setPictureInPicture The system's picture-in-picture (macOS 14 or newer). unsupported.
    DropModifiers The pointer and ⌥ ⇧ ⌘ (cmd is ⌘). The pointer and Alt, Shift, Ctrl (cmd is Ctrl).
    plugin.system (open, reveal) Opened by the system; revealing several files selects all of them in one Finder window. Opened by the shell; one Explorer window per folder.
    plugin.secrets The login keychain. The Credential Manager.
    App.system() Version, build, model and displays; rendering is "gpu", or "software" after a fallback. Version, build, model and displays; rendering is "software" by default, "gpu" once the user turned on GPU rendering, "software" again after a fallback.
    Snapshots and exports (MediaCapture) Available. Available; needs FFmpeg 6.1 or newer.
    Generated streams (Player.openStream) A Unix socket. Loopback TCP with a token.
    Rendering On the GPU (OpenGL), with hardware decoding. In software by default, with hardware decoding copied back; the windows draw with Direct3D 12, or OpenGL or Slint's software renderer when a driver rule or a failure rules it out. On the GPU (Direct3D 11) once the user turns on GPU Rendering in the Picture panel (from the next start) or with VESTRA_RENDER=gpu.
    plugin.rendering "gpu" can be chosen unless the driver is ruled out (denylist, previous-crash). The same; with "auto" the player renders in software (reason.code default).
    Render options (RenderOptions) Available; peakDetect has no effect. Available while GPU rendering is on; unsupported in software rendering.
    Plugin shaders (plugin.video.shaders) Available. Available while GPU rendering is on; set fails with unsupported in software rendering.
    plugin.video.upscaling available is false (platform); set(true) fails with unsupported. NVIDIA RTX Video Super Resolution: an RTX GPU with driver 530 or newer, GPU rendering on that GPU, the video decoded on it (d3d11va); the user must also turn on Super Resolution in the NVIDIA app.
    plugin.video.motion Every mode reports platform; set of a mode fails with unsupported. AMD AMF's frame-rate converter: an AMD Radeon GPU with the AMD driver (amfrt64.dll); copy-back decoding while it runs. display needs GPU rendering; in software rendering double only where twice the video's rate is the display's (30 fps on 60 Hz). Excludes AI upscaling.
    Bindings Ctrl also matches ⌘; Cmd is ⌘. Cmd is the Windows logo key; Cmd+Q does not quit.
    Keys taken first, standard close keys See Keys the system takes first. See Keys the system takes first.
    Interface font The system font; CJK falls back per character to the system's fonts (PingFang, Hiragino). The system font; CJK falls back per character to Windows' CJK fonts in the interface language's order, then the bundled Noto Sans CJK SC (the chain).
    Theme.font-mono Menlo Consolas

    On other systems every feature in this table that needs the system fails with unsupported (always on top and setVideoArea with unavailable; preventSleep has no effect), and keys behave as on Windows. Without a user interface (headless), windows, panels, dialogs, the OSD and settings.show fail with unavailable.