fix: cap automatic playout refreshes
This commit is contained in:
@@ -75,4 +75,13 @@ public sealed class PlayoutOptions
|
||||
public int MaximumReconnectAttempts { get; set; } = 3;
|
||||
|
||||
public bool ReconnectEnabled { get; set; } = true;
|
||||
|
||||
/// <summary>
|
||||
/// Optional trusted local safety ceiling for timer-driven same-scene refreshes
|
||||
/// started by one TAKE IN. Null preserves the legacy continuous-refresh behavior;
|
||||
/// zero disables automatic refresh; a positive value stops after that many
|
||||
/// successful refresh dispatches and drains the final play callback before
|
||||
/// reporting that the limit was reached. Web content cannot change this value.
|
||||
/// </summary>
|
||||
public int? MaximumAutomaticRefreshesPerTakeIn { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user