Cognitive Speech Service in webserver

Raghu E 1 Reputation point
2020-11-17T03:54:43.847+00:00

Hi,

Iam using Javascript Cognitive Speech SDk in my webpage and its working fine when run from localhost in my system, but when i deployed the same code in webserver, Iam getting error Invalid SpeechSDK.
Do i need to install any softwares in my server to run the service?

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,762 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,891 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 46,746 Reputation points Microsoft Employee
    2020-11-17T06:20:39.363+00:00

    @Raghu E While using the SDK with the browser you need to download and extract the Speech SDK for JavaScript microsoft.cognitiveservices.speech.sdk.bundle.js file, and place it in a folder accessible to your HTML file.

    You can try these samples from the documentation for browser scenarios and check if it works when you deploy it on any webserver.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.