Interface OpenAIRealtimeRolloverRequest

interface OpenAIRealtimeRolloverRequest {
    connectionIndex: number;
    reason: "speech_stopped" | "flush" | "deadline";
}

Properties

connectionIndex: number

Index the new connection gets when it opens (see StreamingSTTUsageEvent.connectionIndex).

reason: "speech_stopped" | "flush" | "deadline"

What started the rollover: an end of speech after afterMs, the first flush() after afterMs (client commits), or the deadline.