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

iOS voice does not work intermittently in Sample bot #3381

Closed
collegewap opened this issue Aug 4, 2020 · 7 comments
Closed

iOS voice does not work intermittently in Sample bot #3381

collegewap opened this issue Aug 4, 2020 · 7 comments
Assignees
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete. p1 Painful if we don't fix, won't block releasing

Comments

@collegewap
Copy link

Was facing voice issue in iPhone in one of the custom bots, so after trying to figure out what is the issue, found that issue happens in Sample bot also.

Bot Link: https://microsoft.github.io/BotFramework-WebChat/03.speech/b.cognitive-speech-services-js/

Version

4.9.2

Describe the bug

In the iPhone, the bot will listen, but will not speak. The issue happens intermittently across the devices irrespective of the iOS version. Works fine in Android, Mac, Windows.

Steps to reproduce

A video can be found here. The bot does not speak here:

https://drive.google.com/file/d/1Svs6ICcYbgcCW8rlYeySe1bx7MrCLlxc/view?usp=drivesdk

iPhone used in the video:

iOS 12.4.6, iPhone 6

Expected behavior

The bot should speak in iPhone all the time

[Bug]

@collegewap collegewap added Bot Services Required for internal Azure reporting. Do not delete. Do not change color. bug Indicates an unexpected problem or an unintended behavior. customer-reported Required for internal Azure reporting. Do not delete. labels Aug 4, 2020
@daveta
Copy link

daveta commented Aug 4, 2020

Hi @collegewap : Are you using the Directline Speech channel? Or a separate speech recognition approach?

@daveta daveta removed the bug Indicates an unexpected problem or an unintended behavior. label Aug 4, 2020
@collegewap
Copy link
Author

collegewap commented Aug 5, 2020

@daveta Using the same code as given here: https://github.com/microsoft/BotFramework-WebChat/tree/master/samples/03.speech/b.cognitive-speech-services-js

I have made changes only to the look and feel. No customizations related to speech. Also, I am using LUIS.

@compulim
Copy link
Contributor

compulim commented Aug 7, 2020

@daveta he is using Speech Services, not Direct Line Speech.

It is very interesting. When we do 4.9.2 release (and any production releases), we are 100% sure that speech synthesis is working. This is the page we test against on every release, https://corinagum.github.io/WebChat-release-testing/.

And when I am testing the page on my iPhone right now, it stopped working, just like how @collegewap recorded.

I need to hook a Mac to debug. But I am sure this will be addressed when we do the release next Monday. This is shipblocker.

Thanks for reporting.

@compulim compulim added customer-replied-to Required for internal reporting. Do not delete. R10 labels Aug 7, 2020
@compulim
Copy link
Contributor

compulim commented Aug 7, 2020

In the meanwhile, @collegewap could you quickly check if it works on older version of Web Chat, e.g. 4.9.1, 4.8.1 and 4.7.1?

@cwhitten cwhitten added the p1 Painful if we don't fix, won't block releasing label Aug 7, 2020
@compulim
Copy link
Contributor

compulim commented Aug 7, 2020

My bad, I flipped the "do not disturb" switch on iPhone (on it side), thus the audio was not coming through.

After I flipped the switch off, audio is going through. I tested 4.9.2 through this page https://microsoft.github.io/BotFramework-WebChat/03.speech/b.cognitive-speech-services-js/. And also through few of my testing pages and everything looks good.

@collegewap can you check on your side?

@compulim
Copy link
Contributor

compulim commented Aug 8, 2020

Attached is a video showing Safari on iPhone, on https://microsoft.github.io/BotFramework-WebChat/03.speech/b.cognitive-speech-services-js/. And is able to do both speech recognition and synthesis.

RPReplay_Final1596845716.zip

@compulim
Copy link
Contributor

Closing due to inactivity.

@corinagum corinagum mentioned this issue Mar 4, 2021
37 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. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete. p1 Painful if we don't fix, won't block releasing
Projects
None yet
Development

No branches or pull requests

4 participants