Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

SpeechRecognizer doesn't support enabled: falseΒ #1574

@rmtuckerphx

Description

@rmtuckerphx

I'm submitting a...

  • Bug report
  • Feature request
  • Documentation issue or request
  • Other... Please describe:

Expected Behavior

Setting SpeechRecognizer to enabled: false will use AudioRecording (Jovo-side ASR) even for Chrome browsers that support client-side ASR.

Current Behavior

The documentation indicates that SpeechRecognizer has an enabled config setting. Setting enabled:false gives an error.
https://www.jovo.tech/marketplace/client-web#webspeech-api-speechrecognizer

Error Log

Type '{ enabled: false; }' is not assignable to type 'PartialObjectDeep<SpeechRecognizerConfig, {}>'.
  Object literal may only specify known properties, and 'enabled' does not exist in type 'PartialObjectDeep<SpeechRecognizerConfig, {}>'.ts(2322)

Your Environment

  • Jovo Framework version used: 4.5.11
  • Operating System: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions