Live speech-to-text is the one feature where I use WebSockets instead of Server-Sent Events, because audio flows up while text flows down. The OCR & Speech Workspace does live microphone transcription with a post-recording refinement pass, and the architecture below is what made it feel instant ...
Source: [Dev.to](https://dev.to/pranjulrathour/real-time-speech-to-text-architecture-of-a-live-transcription-feature-d00)