mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
parent
efb11f9235
commit
b113c4e7ce
@ -39,7 +39,6 @@ namespace Remotely.ScreenCast.Core.Services
|
||||
var fpsQueue = new Queue<DateTimeOffset>();
|
||||
mode = Conductor.Mode;
|
||||
var viewer = ServiceContainer.Instance.GetRequiredService<Viewer>();
|
||||
viewer.Capturer.Init();
|
||||
viewer.Name = screenCastRequest.RequesterName;
|
||||
viewer.ViewerConnectionID = screenCastRequest.ViewerID;
|
||||
viewers = Conductor.Viewers;
|
||||
|
||||
@ -16,6 +16,7 @@ namespace Remotely.ScreenCast.Linux.Services
|
||||
public ScreenCapturerLinux()
|
||||
{
|
||||
Display = LibX11.XOpenDisplay(null);
|
||||
Init();
|
||||
}
|
||||
|
||||
public event EventHandler<Rectangle> ScreenChanged;
|
||||
|
||||
@ -44,6 +44,7 @@ namespace Remotely.ScreenCast.Win.Services
|
||||
private readonly Dictionary<string, DirectXOutput> directxScreens = new Dictionary<string, DirectXOutput>();
|
||||
public ScreenCapturerWin()
|
||||
{
|
||||
Init();
|
||||
SystemEvents.DisplaySettingsChanged += SystemEvents_DisplaySettingsChanged;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user