Expand description
Native preview server: WebSocket on 127.0.0.1, protocol JSON for
commands/events, binary frames (16-byte header + JPEG).
The engine is single-threaded (!Send), so it lives on its own thread;
the async side only moves messages. Bursts of Seek (scrubbing) are
coalesced: only the latest seek in a batch is rendered.
Structs§
- Server
Options - Options of the native preview server.
Functions§
- jpeg_
encoder - Encodes preview frames as JPEG.
- serve
- Runs the server until
Shutdownor the process is killed.make_engineruns on the engine thread (engines are notSend).