{
  "id": 6606397,
  "title": "Your Dictation Feature Doesn't Need a WebSocket",
  "url": "https://urgent.news/2026/09/10/your-dictation-feature-doesnt-need-a-websocket",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-10T13:00:02.000Z",
  "source": {
    "name": "HackerNoon",
    "slug": "hackernoon",
    "url": "https://hackernoon.com/your-dictation-feature-doesnt-need-a-websocket?source=rss"
  },
  "original_language": "en",
  "account": "The article explains that a WebSocket is not necessary for adding voice input to an app when transcribing short audio clips. It states that a single HTTP request is sufficient for complete transcription of short audio, such as a two-second clip where the user has finished speaking. The author argues that streaming audio and using a WebSocket is only needed for live captioning or when the audio is still being recorded. The article then provides code examples in Python and JavaScript for using the Sync Speech-to-Text API from AssemblyAI to perform short audio transcription in a single HTTP request. It mentions that the API returns a JSON response containing the transcribed text and additional metadata. The article also highlights the importance of setting the X-AAI-Model header in the request and logging the session_id for troubleshooting.",
  "summary": "Push-to-talk audio is already recorded, so it doesn't need a WebSocket. Transcribe short clips in one HTTP request, and see where the latency hides.",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}