Skip to content

How to set properties of SpeechConfig in createCognitiveServicesSpeechServicesPonyfillFactory ? #4890

Description

@esperance90

I have a question

Hi,

Currently, we are trying to implement a microphone widget, like in the sample below:

https://github.com/microsoft/BotFramework-WebChat/tree/main/samples/06.recomposing-ui/b.speech-ui

The problem is that as soon as the user makes a very short pause, silence is detected and recognition result sent.

I have found in Azure documentation, that it is possible to set some properties on the SpeechConfig (segmentation silence timeout, initial silence timeout):

https://learn.microsoft.com/en-us/azure/ai-services/speech-service/how-to-recognize-speech?pivots=programming-language-csharp#change-how-silence-is-handled

Is it possible to set them using current implementation of botframework webchat library?

Thank you,
Nadia.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bot ServicesRequired for internal Azure reporting. Do not delete. Do not change color.customer-replied-toRequired for internal reporting. Do not delete.customer-reportedRequired for internal Azure reporting. Do not delete.feature-requestAzure report label

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions