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

Speech Recognition not working In Edge browser,Speech is not recognizing (only using intranet office network) #23383

Closed
2 tasks done
Saravana5 opened this issue Jun 14, 2024 · 1 comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API invalid 🚫 Invalid issues or pull requests (wrong repo, spam, duplicates, etc.). This won't get merged. Sorry!

Comments

@Saravana5
Copy link

Saravana5 commented Jun 14, 2024

What type of issue is this?

Infrastructure issue

What is the issue?

Capturecolor
Network
Issue while connecting to intranet network, it works fine in personal network
Even in intranet network(office network) it was working as expected in chrome, only issue in edge browser It is not working in edge browser while connecting to a VPN or connecting to office internet

What behavior were you expecting?

It needs to work in edge browser while connecting vpn or office network

What version(s) of BCD is the issue present in?

  • The current BCD release
  • The current version of the main branch

Do you have anything more you want to share?

private startListening = () => {
// const SpeechRecognition = SpeechRecognition || webkitSpeechRecognition
if (window.SpeechRecognition || window.webkitSpeechRecognition) {
this.recognition = new (window.SpeechRecognition || window.webkitSpeechRecognition)();
this.recognition.continuous = false;
this.recognition.interimResults = false;
this.recognition.lang = 'en-US';
this.recognition.onresult = (event) => {
const transcript = event.results[0][0].transcript;
this.setState({ searchInputValue: transcript });
console.log(transcript);
// this._updateQuerySuggestions(transcript);
this.setState({ listening: false })
};

        this.recognition.onerror = (event) => {
            this.setState({ listening: false })
            console.error("speecherror detected" + event.error)
        }

    };
    this.recognition.onend = () => {
        this.setState({ listening: false })
    }

    if (this.recognition) {
        this.recognition.start();
        this.setState({ listening: true })
    }
}

This is the Actual code

@Saravana5 Saravana5 changed the title Only facing issue In Edge browser,Speech is not recognizing (only using intanet office network) Only facing issue In Edge browser,Speech is not recognizing (only using intranet office network) Jun 14, 2024
@Saravana5 Saravana5 changed the title Only facing issue In Edge browser,Speech is not recognizing (only using intranet office network) Speech Recognition not working In Edge browser,Speech is not recognizing (only using intranet office network) Jun 14, 2024
@queengooborg
Copy link
Collaborator

This is not a BCD issue. We are not able to help with troubleshooting.

@queengooborg queengooborg closed this as not planned Won't fix, can't repro, duplicate, stale Jun 15, 2024
@queengooborg queengooborg added invalid 🚫 Invalid issues or pull requests (wrong repo, spam, duplicates, etc.). This won't get merged. Sorry! data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API labels Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API invalid 🚫 Invalid issues or pull requests (wrong repo, spam, duplicates, etc.). This won't get merged. Sorry!
Projects
None yet
Development

No branches or pull requests

2 participants