SilenceEvent: {
    end_ms: number;
    start_ms: number;
    type: "Silence";
}

Type declaration

  • end_ms: number

    End of the silent stretch, in milliseconds of session audio on the same clock as word timestamps. A range may overlap audio already reported as speech, because the gateway replays a short window of audio after a worker reconnect; track a running maximum and trim ranges against it.

  • start_ms: number

    Start of the silent stretch, in milliseconds of session audio on the same clock as word timestamps.

  • type: "Silence"