Skip to main content

STOP_JOIN_TIMEOUT

Constant STOP_JOIN_TIMEOUT 

Source
pub(crate) const STOP_JOIN_TIMEOUT: Duration;
Expand description

Best-effort nice boost for the calling capture/encode/delivery thread. These threads compete with the very workload being captured, so a scheduling edge keeps frame pacing steady under load. Requires CAP_SYS_NICE (or root); otherwise EPERM and silently a no-op. How long a stop waits for a capture or delivery thread to end before leaving it behind.