microsoft / BotFramework-WebChat

A highly-customizable web-based client for Azure Bot Services.
https://www.botframework.com/
MIT License
1.6k stars 1.54k forks source link

Speech is not working in IE 11 & partially working in MS Edge #483

Closed PrasenjitSaha closed 6 years ago

PrasenjitSaha commented 7 years ago

Hi, I have downloaded code from https://github.com/Microsoft/BotFramework-WebChat/tree/speech I am using "cognitive_speech_api" key to enable speech feature.

  1. But speech is working in Chrome.
  2. In Edge, it is working partially, after speech recognition it is showing in text message writing bar not in body. So, need to click post button.
  3. It is not working in IE 11
shahidkhuram commented 7 years ago

(#3) Lack of support for IE11 is a currently a known limitation. The WebChat uses the following Speech SDK which depends on navigator.getUserMedia https://github.com/Azure-Samples/SpeechToText-WebSockets-Javascript

I can't reproduce (#2) is this a consistent issue for you or sporadic? Speech recognition relies on a websocket connection to cognitive speech, looking at the last few messages on that websocket connection when you hit this might help us figure out the issue.

PrasenjitSaha commented 7 years ago

@shahidkhuram thank you for your reply. Actually I have downloaded MS BOT Webchat code from https://github.com/Microsoft/BotFramework-WebChat/tree/speech. Speech is working in Chrome but not in Edge completely.

shahidkhuram commented 7 years ago

I understand your scenario, please see the 2nd paragraph in my previous response with the question for you:

I can't reproduce (2) is this a consistent issue for you or sporadic? ...

PrasenjitSaha commented 7 years ago

this a consistent issue in edge


From: shahidkhuram [notifications@github.com] Sent: 10 June 2017 03:03 To: Microsoft/BotFramework-WebChat Cc: Prasenjit Saha; Author Subject: Re: [Microsoft/BotFramework-WebChat] Speech is not working in IE 11 & partially working in MS Edge (#483)

I understand your scenario, please see the 2nd paragraph in my previous response with the question for you:

I can't reproduce (#2https://github.com/Microsoft/BotFramework-WebChat/pull/2) is this a consistent issue for you or sporadic? ...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/BotFramework-WebChat/issues/483#issuecomment-307505178, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASfDpGRlQfnLQ2-wq1jF1NVE-9ho52n_ks5sCbpBgaJpZM4NuHxd.

::DISCLAIMER::

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.


danmarshall commented 6 years ago

@PrasenjitSaha are you still experiencing this issue?

debajitmukherjee commented 6 years ago

@danmarshall The getUserMedia is now supported by IOS11 Safari, But in the webchat it's not working. Our issue in IOS11 Safari is the following 1) mic icon is appearing. 2) On click of the mic icon it's asking for the access of microphone and then nothing happens.

The Speech recognition is working in following browsers 1) Desktop - Chrome, Edge, FireFox 2) Android Mobile - Chrome, FireFox

mrPrateek95 commented 6 years ago

@danmarshall Is there any plan to support Speech in IE11?

compulim commented 6 years ago

@debajitmukherjee we tested it works in Safari on iOS 11.3 and 11.4. But it is not working on Chrome/Edge on iOS 11.3 or 11.4. This is because WebView component on iOS does not support WebRTC.

@mrPrateek95 since WebRTC and WebSpeech is not supported by IE11. There are no ways we could do to enable that. I am sorry.

@PrasenjitSaha since we reworked on some speech code. If Edge is still repro-ing your issue "need to press ENTER after speech are recognized". Please file a bug to us.