Open Bug 1597960 Opened 5 years ago Updated 2 years ago

Audio capture should stop when the mic button is clicked again

Categories

(Core :: Web Speech, enhancement)

72 Branch
enhancement

Tracking

()

Tracking Status
firefox72 --- affected

People

(Reporter: rpopovici, Unassigned)

References

Details

Preconditions:
media.webspeech.recognition.enable -> true
media.webspeech.recognition.force_enable -> true

Steps to reproduce:

  1. Go to https://andrenatal.github.io/webspeechapi/
  2. Firefox Web Speech API Chatbot page is reached. The input field has a voice input button.
  3. Select the voice input button, start speaking into the microphone and stop the mic after a few words.

Actual result:
Input box is empty.

Expected result:
The voice input feature will automatically stop at one moment. The words are recognized and written in the text input area.

Note: The audio capture should stop when the mic button is clicked again (and the audio should then be analysed by the API), rather than stopping the whole audio input process when mic button is clicked a second time.

Summary: Audio capture should finish when the mic button is stopped → Audio capture should stop when the mic button is off

(In reply to Raluca from comment #0)

  1. Select the voice input button, start speaking into the microphone and stop the mic after a few words.

Can you be more specific on "stop the mic" ?

Summary: Audio capture should stop when the mic button is off → Audio capture should stop when the mic button is clicked again
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.