Realtime Tts Reconnect Policy
Controls if a realtime TTS connection may be opened again after a transient failure.
Inheritors
Types
Link copied to clipboard
data class BeforeFirstAudio(val maxAttempts: Int = 3, val initialDelayMillis: Long = 500, val maxDelayMillis: Long, val jitterFactor: Double = 0.2) : RealtimeTtsReconnectPolicy
Reconnect only before the first audio chunk is received, when replaying buffered text cannot duplicate audio already delivered to the caller.
Link copied to clipboard
Never reconnect automatically.