diff --git a/docs/media.md b/docs/media.md index c9cc6fc..eb4d3e8 100644 --- a/docs/media.md +++ b/docs/media.md @@ -869,9 +869,12 @@ Notes: covered by other windows may be stale. MIT-SHM needs a local server with MIT-SHM 1.2; otherwise GetImage is used. The only `unsafe` here is mapping our memfd (`capture/x11/shm.rs`). -- Portal: `start` needs a tokio runtime (zbus runs on it) and may show the - desktop's picker. Choices persist with `PersistMode::ExplicitlyRevoked`: store - `PortalCapture::restore_token()` (e.g. in `voelin-store` settings) and pass it to +- Portal: `start` runs on any executor (ashpd uses zbus's `async-io`, with an + I/O thread of its own, in every binary of the workspace) and may show the + desktop's picker; `stop` closes the portal session only inside a tokio + runtime (elsewhere the session closes with the connection). Choices persist + with `PersistMode::ExplicitlyRevoked`: store `PortalCapture::restore_token()` + (e.g. in `voelin-store` settings) and pass it to `PortalCapture::with_restore_token` next time. The cursor is embedded when the portal supports it. Buffers: DMA-BUFs are offered first (a mandatory modifier property we fixate: the sink's tiled modifiers, best