fix: restore legacy playout parity and live startup

This commit is contained in:
2026-07-29 14:07:36 +09:00
parent 80b50c80b3
commit b35c000796
31 changed files with 3356 additions and 382 deletions

View File

@@ -20,6 +20,7 @@ internal sealed record ValidatedPlayoutOptions(
Regex? TestProcessWindowTitleRegex,
IReadOnlySet<string> TestSceneAllowlist,
bool TrustedLiveOutputEnabled,
bool DevelopmentLiveBootstrapApplied,
int QueueCapacity,
TimeSpan ConnectTimeout,
TimeSpan OperationTimeout,
@@ -165,7 +166,7 @@ internal sealed record ValidatedPlayoutOptions(
!string.IsNullOrWhiteSpace(options.LegacyBackgroundDirectory) ||
options.ReconnectEnabled ||
options.MaximumReconnectAttempts != 0 ||
options.MaximumAutomaticRefreshesPerTakeIn != 0)
options.MaximumAutomaticRefreshesPerTakeIn is not null)
{
throw new PlayoutConfigurationException(
"Development Live configuration no longer matches its protected startup contract.");
@@ -223,6 +224,7 @@ internal sealed record ValidatedPlayoutOptions(
titleRegex,
allowlist,
options.TrustedLiveOutputEnabled,
options.DevelopmentLiveBootstrapApplied,
options.QueueCapacity,
TimeSpan.FromMilliseconds(options.ConnectTimeoutMilliseconds),
TimeSpan.FromMilliseconds(options.OperationTimeoutMilliseconds),