Fix Session 0 issue: spawn screen capture helper in user session

- CaptureModeRunner: captures desktop in user session via schtasks,
  sends JPEG frames over named pipe to service
- RtcService: creates named pipe server, spawns helper via schtasks
  (same pattern as NotificationService), reads frames and forwards to WS
- Program.cs: added --rdp-capture <pipeName> mode
- Multi-monitor: captures all screens combined

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-11 09:49:26 +02:00
parent 1461f0fd0d
commit 45f4c7846e
3 changed files with 178 additions and 29 deletions

View File

@@ -19,6 +19,10 @@ internal class Program
RunNotification(args.Length > 1 ? args[1] : "");
return;
case "--rdp-capture":
CaptureModeRunner.Run(args.Length > 1 ? args[1] : "");
return;
case "--dashboard":
RunDashboard();
return;