microsoft / microsoft/BotFramework-WebChat

[Tracking] DLS: Spamming microphone button will cause Speech SDK to stop working

Open
#2,673 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area-direct-line-speech blocked bug external-cognitive-services
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

This is a tracking bug.

Version

master, not on production yet.

Describe the bug

When the user keep spamming the microphone button, the engine may stop. Requires F5 to resume.

Steps to reproduce

  1. Open 06.i.direct-line-speech sample
  2. Click on microphone button
  3. While it is recording, keep spamming the button and say "Testing"
  4. Keep spamming the button for extended time after recognition
  5. After recognition, it should turn on microphone again to record for the second utterance

Expected behavior

It should start recording for the second utterance.

Instead, it stop recording and went into a locked state.

Additional context

[Bug]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the 06.i.direct-line-speech sample and reproduce the issue by repeatedly pressing the microphone button through recognition and a second utterance. Trace why recording enters a locked state, then verify that the microphone starts recording for the second utterance without requiring F5.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
audio-video-rtc, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.