Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microphone button is disabled/greyed after sending the first message #2298

Closed
compulim opened this issue Aug 7, 2019 · 3 comments · Fixed by #2300
Closed

Microphone button is disabled/greyed after sending the first message #2298

compulim opened this issue Aug 7, 2019 · 3 comments · Fixed by #2300
Assignees
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete.

Comments

@compulim
Copy link
Contributor

compulim commented Aug 7, 2019

Copied from ticket.

Notes to fixer

  • Make sure if synthesis failed, we will not gray out the microphone

Version

What version of the Emulator are you using?

Not mentioned in the ticket.

Describe the bug

Customer has added speech functionality to Bot. When they test the Bot with Web Chat, they do not see any issue. But when testing the Bot with Emulator (v4), the customer sees that the microphone icon gets disabled (greyed out) after sending the first message to the Bot, irrespective of whether the message is sent as text by typing or using Voice.

To Reproduce

  1. The customer's Bot code's speech functionality works as expected with Web Chat.

  2. The microphone icon is getting grayed out when testing the Bot on Emulator.

  3. Even if the first message to the Bot is sent in text, the microphone icon is getting grayed out.

  4. Created a new Bot, integrated Direct Line Speech channel to the Bot and tested the Bot on emulator. Even for this new Bot, we were seeing the microphone icon getting grayed out.

Expected behavior

N/A

Additional context

The customer wants to know if this is by design for Bot Framework Emulator (v4). If this is an issue, he wants help in identifying the cause an fixing it.

[bug]

@tonyanziano tonyanziano self-assigned this Aug 7, 2019
@tonyanziano
Copy link
Contributor

After doing some investigation, I'm able to reproduce this issue in the latest version of the Emulator.

I'm currently looking into the code to see if I can identify the bug on our end.

@tonyanziano
Copy link
Contributor

It looks like the call to the BingSpeech synthesis API errors out with a 401 in Emulator because the key we use is not compatible with the syntesis API. This means that Web Chat is stuck waiting for the synthesis step to complete -- which it never does -- and disables the microphone button in the process.

@tonyanziano tonyanziano transferred this issue from microsoft/BotFramework-Emulator Aug 9, 2019
@tonyanziano tonyanziano added the customer-replied-to Required for internal reporting. Do not delete. label Aug 9, 2019
@corinagum corinagum added bug Indicates an unexpected problem or an unintended behavior. customer-reported Required for internal Azure reporting. Do not delete. needs-repro Waiting for repro or investigation Triage-E labels Aug 9, 2019
@compulim compulim removed the needs-repro Waiting for repro or investigation label Aug 11, 2019
@corinagum corinagum added the Bot Services Required for internal Azure reporting. Do not delete. Do not change color. label Aug 12, 2019
@SUMANA-MAJUMDER18
Copy link

I checked with the customer and he mentioned that the Emulator version where he could see the issue was v4.5.2.

@compulim compulim mentioned this issue Oct 25, 2019
55 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants