Which hosting environment does this issue primarily affect?
Web apps
Which browsers and platforms do the issue happened?
Browser: Edge (latest), Browser: Chrome (latest)
Which area does this issue affect?
Speech
What is the public URL for the website?
No response
Please describe the bug
I've been working with createBrowserWebSpeechPonyfillFactory and also tested createCognitiveServicesSpeechServicesPonyfillFactory. My project involves integrating an Azure chatbot with WebChat using Direct Line speech. While the speech recognition and response functionalities are operating correctly, I'm encountering an issue with microphone permissions. Each time the microphone button is clicked, the browser (tested on Edge, Chrome, and Brave) prompts for microphone access. Ideally, this permission should be requested just once and not repeatedly with every message.
Is it an issue related to Adaptive Cards?
No
Is this an accessibility issue?
No
What version of Web Chat are you using?
Latest production
Which distribution are you using Web Chat from?
Bundle (webchat.js)
Which hosting environment does this issue primarily affect?
Web apps
Which browsers and platforms do the issue happened?
Browser: Edge (latest), Browser: Chrome (latest)
Which area does this issue affect?
Speech
What is the public URL for the website?
No response
Please describe the bug
I've been working with
createBrowserWebSpeechPonyfillFactory
and also testedcreateCognitiveServicesSpeechServicesPonyfillFactory
. My project involves integrating an Azure chatbot with WebChat using Direct Line speech. While the speech recognition and response functionalities are operating correctly, I'm encountering an issue with microphone permissions. Each time the microphone button is clicked, the browser (tested on Edge, Chrome, and Brave) prompts for microphone access. Ideally, this permission should be requested just once and not repeatedly with every message.Here is my entire code
Do you see any errors in console log?
No response
How to reproduce the issue?
I am using a sample from Direct line speech
What do you expect?
It should ask for microphone permission at the start once and not on each message.
What actually happened?
It is asking for microphone permission on each message.
Do you have any screenshots or recordings to repro the issue?
No response
Adaptive Card JSON
No response
Additional context
No response