refactor(capture): screen capture in subprocess
- Move screen capture to child process - Isolate GDI/BitBlt crashes from agent - Use -capture flag for internal helper mode - Add protocol for frame request/response - Make monitor enumeration thread-safe
This commit is contained in:
@@ -13,6 +13,9 @@ const (
|
||||
DefaultAddr = "0.0.0.0:5032"
|
||||
MutexName = "win64_mp_Mutex"
|
||||
RestartDelay = 3 * time.Second
|
||||
CaptureRecycleFrames = 100
|
||||
CaptureTimeout = 8 * time.Second
|
||||
MaxCaptureBytes = 32 << 20
|
||||
RequestBodyMax = 1 << 20
|
||||
MaxUploadSize = 100 << 20 // ponytail: 100MB cap; raise via env later if needed
|
||||
MaxListEntries = 10000
|
||||
|
||||
Reference in New Issue
Block a user