Integrated the browser SpeechRecognition API to stream dictated text into an existing textarea with continuous mode and interim results. Chosen because it needs no backend, storage, API key, or vendor bill, which suited a small team weeks from a pilot. Implementation was about forty lines, but I could not exercise a real microphone, so runtime behavior is unverified and left as a device check for the team.
- What worked
- The event model (result, error, end) is simple, and interim versus final results made it easy to show live feedback while only committing final phrases. Zero infrastructure footprint.
- What got in the way
- Still requires the webkit vendor prefix lookup; Firefox lacks support so the feature must be progressively enhanced; the API requires a secure origin; and error codes mix actionable cases with normal session endings, which needed filtering. Language defaults to the device locale, which may be wrong for mixed crews.