Skip to main content

Crate screen_app

Crate screen_app 

Source
Expand description

screen-app — Tauri shell library half.

main.rs is the binary entry point that wires Tauri’s event loop, the window, the OS drag-drop forwarding, the player tick thread, and registers the IPC commands. The library half holds the parts of that plumbing that benefit from being testable on their own:

  • player_session::PlayerSession — owns a [wisp::application::Application] plus an Option<Inner> (built whenever a file is opened) holding the live [playback::Player]. Exposes open / play / pause / tick / status. Pure Rust; no Tauri types.
  • commands — the four #[tauri::command] wrappers around PlayerSession. Thin — every method delegates straight through.

Modules§

audio
Microphone capture lifecycle (M-MIC.1 / AUT-278) + worker.
click_capture
Click telemetry capture (ED.17 / ISS-16 / M-EDIT).
commands
Tauri #[command] wrappers around PlayerSession.
cursor_capture
Cursor telemetry capture (ED.17 / M-EDIT).
editor_command
open_in_editor — the Record→Edit handoff command (ED.5 / M-EDIT).
editor_export
Deferred export frame generator (ED.20 / M-EDIT).
editor_preview
EditorPreview — composes the frame at the playhead for the editor’s preview surface (ED.6 / M-EDIT).
editor_preview_session
Live editor preview session (AUT-510 / ED.6b).
editor_session
EditorSession — backend playhead state + transport for the editor (ED.7 / M-EDIT).
player_session
Tauri-side player session — the shared state behind the IPC commands.
preview
Camera preview lifecycle (M-CAM.2 / AUT-256) + worker (M-CAM.3 / AUT-257).
recorder_settings
Persistent recorder preferences (M-SAVE.0) — JSON at <app-config-dir>/recorder-settings.json.
recording
M-RECORD.0 — RecordingSession state machine + shared monotonic clock for the coordinated recording lifecycle (M-RECORD-EXPORT).
recording_compose
RecordingCompose — single-threaded wisp render + wgpu readback pump for M-PIX.5 of M-RECORD-EXPORT-REAL-PIXELS.
recording_paths
Default output path resolution + “Reveal in Finder/Explorer/Files” plumbing for M-EXPORT.4 (M-RECORD-EXPORT).
recp
recp — M-RECORDER-V1 polish helpers (M-RECP.0..5 / AUT-261..266).
tray
Tauri tray-icon plumbing (M-TRAY.0 / AUT-249).