Real-time voice interview architecture
hard 6 minA voice interaction has several clocks.
Trace the example
Follow the evidence through each stage, then test a change in the case.
Interrupt the interviewer halfway through a question
Candidate device
Candidate begins speaking again
The input stream continues during playback. Track turn identity and the device clock so the new speech can be associated with an interruption.
The answer was fully generated before interruption, but only half was audible. Which history should guide the next turn?
Interrupt an answer in the playback buffer
The reply contains 2.4 seconds of generated audio. The client reports its played offset at interruption. Transcript alignment determines which words belong in the next turn.