Configuration
The agent uses a configuration file to control capture, encoding, and connection behaviour. Most settings have sensible defaults and do not need to be changed.
Config File Location
~/.config/vdo/config.toml
If the file does not exist, the agent runs with defaults. You can create it to override specific settings.
Capture Settings
[capture]
# Which display to capture (default: auto-detected primary)
display = 0
# Preferred capture method: "auto", "x11", or "kms"
# "auto" tries hardware capture first, then falls back
backend = "auto"
display-- The index of the display to capture by default.0is usually the primary monitor. Connected viewers can switch displays from the toolbar.backend-- The capture backend."auto"is recommended. Use"kms"to force direct hardware capture (requires appropriate permissions) or"x11"for X11 shared memory capture.
Encoding Settings
[encode]
# Preferred codec: "hevc" or "h264"
codec = "hevc"
# Target bitrate in kbps (0 = automatic based on resolution)
bitrate = 0
# Capture framerate
framerate = 60
# Force a specific encoder: "auto", "nvenc", "vaapi", "x264"
encoder = "auto"
