feat: add safe Tornado K3D playout adapter

This commit is contained in:
2026-07-10 06:41:48 +09:00
parent 39c4504b87
commit 5a8c7028dc
43 changed files with 7341 additions and 92 deletions

View File

@@ -0,0 +1,18 @@
namespace MBN_STOCK_WEBVIEW.Playout.Safety;
internal interface ILiveAuthorization
{
bool IsAuthorizedForThisLaunch { get; }
}
internal sealed class EnvironmentLiveAuthorization : ILiveAuthorization
{
public EnvironmentLiveAuthorization()
{
// Capture once. Changing a process environment variable after launch cannot arm output.
IsAuthorizedForThisLaunch =
Configuration.PlayoutOptionsLoader.IsLiveAuthorizedForThisLaunch();
}
public bool IsAuthorizedForThisLaunch { get; }
}