Expand description
Tauri-side player session — the shared state behind the IPC commands.
Holds a long-lived [Application] (built once at app boot) and an
Option<Inner> carrying the live [Player] for the currently-open
video. open builds a fresh Inner; play/pause/tick mutate it.
All public methods take &self and lock internally. The Tauri tick
thread and the IPC command handlers all share a single PlayerSession
through tauri::State<PlayerSession>.
Structs§
- Inner 🔒
- Player
Session - Tauri shell’s player state. Shared via
tauri::State<PlayerSession>. - Player
Status - IPC payload emitted on the
player-statusevent and returned from theplayer_open/player_statuscommands.
Enums§
- Session
State - IPC-stable enum for the player’s lifecycle. Mirrored on the frontend.