public static HyperionTaskConfiguration BuildUsingDefaultSettings() { List <HyperionServer> hyperionServers = new List <HyperionServer>(); hyperionServers.Add(HyperionServer.BuildUsingDefaultFbsSettings()); return(new HyperionTaskConfiguration() { Id = GetNewId(), Enabled = true, CaptureMethod = CaptureMethod.DX11, Dx9CaptureHeight = 64, Dx9CaptureWidth = 64, Dx9MonitorIndex = 0, Dx9CaptureInterval = 5, Dx11MaxFps = 60, Dx11FrameCaptureTimeout = 1250, Dx11ImageScalingFactor = 32, Dx11AdapterIndex = 0, Dx11MonitorIndex = 0, Dx11DualScreenMaxFps = 60, Dx11DualScreenFrameCaptureTimeout = 1250, Dx11DualScreenImageScalingFactor = 32, Dx11DualScreenAdapterIndex = 0, Dx11DualScreenMonitorIndex1 = 0, Dx11DualScreenMonitorIndex2 = 1, HyperionServers = hyperionServers }); }
public static HyperionTaskConfiguration BuildUsingLegacySettings() { List <HyperionServer> hyperionServers = new List <HyperionServer>(); hyperionServers.Add(HyperionServer.BuildUsingDefaultFbsSettings()); return(new HyperionTaskConfiguration() { Id = GetNewId(), Enabled = true, CaptureMethod = Settings.Default.captureMethod, Dx9CaptureHeight = Settings.Default.height, Dx9CaptureWidth = Settings.Default.width, Dx9MonitorIndex = Settings.Default.monitorIndex, Dx9CaptureInterval = Settings.Default.captureInterval, Dx11MaxFps = Settings.Default.dx11MaxFps, Dx11FrameCaptureTimeout = Settings.Default.dx11FrameCaptureTimeout, Dx11ImageScalingFactor = Settings.Default.dx11ImageScalingFactor, Dx11AdapterIndex = Settings.Default.dx11AdapterIndex, Dx11MonitorIndex = Settings.Default.dx11MonitorIndex, Dx11DualScreenMaxFps = Settings.Default.dx11MaxFps, Dx11DualScreenFrameCaptureTimeout = Settings.Default.dx11FrameCaptureTimeout, Dx11DualScreenImageScalingFactor = Settings.Default.dx11ImageScalingFactor, Dx11DualScreenAdapterIndex = Settings.Default.dx11AdapterIndex, Dx11DualScreenMonitorIndex1 = Settings.Default.dx11MonitorIndex, Dx11DualScreenMonitorIndex2 = Settings.Default.dx11MonitorIndex + 1, HyperionServers = hyperionServers }); }