fix: restore legacy playout parity and live startup
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user