-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPixelFlutServerConfig.cs
39 lines (37 loc) · 1.4 KB
/
PixelFlutServerConfig.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
namespace PixelFlutServer.Mjpeg
{
public class PixelFlutServerConfig
{
public int PixelFlutPort { get; set; } = 1234;
public int MjpegPort { get; set; } = 8080;
public bool EnableNdi { get; set; } = false;
/// <summary>
/// Max FPS to output (lower = less bandwidth)
/// </summary>
public int MaxFps { get; set; } = 60;
public int Width { get; set; } = 1280;
public int Height { get; set; } = 720;
/// <summary>
/// MJPEG quality (lower = less bandwidth)
/// </summary>
public int JpegQualityPercent { get; set; } = 70;
/// <summary>
/// URI to redirect to when HTTP requests are detected on the pixelflut port
/// </summary>
public string HttpServerUri { get; set; }
/// <summary>
/// Directory where to save the canvas to so it can be loaded after a restart
/// </summary>
public string PersistPath { get; set; } = ".";
/// <summary>
/// Text to show in the lower left corner of the canvas
/// </summary>
public string AdditionalText { get; set; }
public int AdditionalTextSize { get; set; } = 14;
/// <summary>
/// Text to show on the website
/// </summary>
public string WebsiteText { get; set; }
public int ReceiveBufferSize { get; set; } = 8 * 1024 * 1024;
}
}