namespace ytLive.Services;
///
/// A running screen-capture source for one target key ("monitor:<n>" or
/// "window:<hwnd>"). Raises normalized BGRA frames from a worker thread;
/// callers must marshal to the UI thread. Seam so ScreenCaptureManager is
/// testable without WinRT.
///
public interface IScreenCaptureSource
{
string Key { get; }
event Action? FrameAvailable;
Task StartAsync();
Task StopAsync();
}