feat: add safe Tornado K3D playout adapter
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
using MBN_STOCK_WEBVIEW.Core.Playout;
|
||||
|
||||
namespace MBN_STOCK_WEBVIEW.Playout.Configuration;
|
||||
|
||||
public sealed class PlayoutOptions
|
||||
{
|
||||
public PlayoutMode Mode { get; set; } = PlayoutMode.DryRun;
|
||||
|
||||
public string Host { get; set; } = "127.0.0.1";
|
||||
|
||||
public int Port { get; set; } = 30001;
|
||||
|
||||
/// <summary>KTAPConnect bTCP argument. The legacy application uses 1.</summary>
|
||||
public int TcpMode { get; set; } = 1;
|
||||
|
||||
/// <summary>KTAPConnect nClientPort argument. Zero lets the SDK choose.</summary>
|
||||
public int ClientPort { get; set; }
|
||||
|
||||
public int? OutputChannel { get; set; }
|
||||
|
||||
public int LayoutIndex { get; set; } = 10;
|
||||
|
||||
/// <summary>
|
||||
/// External absolute root containing vendor .t2s scenes. Required in Test and Live modes.
|
||||
/// </summary>
|
||||
public string? SceneDirectory { get; set; }
|
||||
|
||||
public string? TestProcessWindowTitlePattern { get; set; }
|
||||
|
||||
public List<string> TestSceneAllowlist { get; set; } = [];
|
||||
|
||||
public bool TrustedLiveOutputEnabled { get; set; }
|
||||
|
||||
public int QueueCapacity { get; set; } = 64;
|
||||
|
||||
public int ConnectTimeoutMilliseconds { get; set; } = 5_000;
|
||||
|
||||
public int OperationTimeoutMilliseconds { get; set; } = 5_000;
|
||||
|
||||
public int DisconnectTimeoutMilliseconds { get; set; } = 3_000;
|
||||
|
||||
public int ProcessPollIntervalMilliseconds { get; set; } = 1_000;
|
||||
|
||||
public int ReconnectDelayMilliseconds { get; set; } = 1_000;
|
||||
|
||||
public int MaximumReconnectAttempts { get; set; } = 3;
|
||||
|
||||
public bool ReconnectEnabled { get; set; } = true;
|
||||
}
|
||||
Reference in New Issue
Block a user