Azure / gen-cv

Vision AI Solution Accelerator
MIT License
400 stars 229 forks source link

Facing Issue in avatar/interactive/src/js/main.js #23

Open cgytiam opened 3 months ago

cgytiam commented 3 months ago

While running the avatar app, from webpage inspect I am getting the below error which is from main.js,

TypeError: SpeechSDK.AvatarVideoFormat is not a constructor

which is getting generated from connectToAvatarService function and more specifically from the below line of the function,

const videoFormat = new SpeechSDK.AvatarVideoFormat()

Not able to understand, what is wrong here. Please help

harmke commented 2 months ago

Hi @cgytiam ,

I wasn't able to reproduce this issue. Could you give a bit more context on changes that you have made so far? Did you validate that the Speech SDK was successfully loaded in the index.html?

Regards, Harmke