Microsoft์์ ๊ด๋ฆฌํ๋ ์ ์ธ๊ณ ๋ฐ์ดํฐ ์ผํฐ ๋คํธ์ํฌ๋ฅผ ํตํด ์ ํ๋ฆฌ์ผ์ด์ ๊ณผ ์๋น์ค๋ฅผ ๋น๋, ๋ฐฐํฌ, ๊ด๋ฆฌํ๊ธฐ ์ํ ํด๋ผ์ฐ๋ ์ปดํจํ ํ๋ซํผ ๋ฐ ์ธํ๋ผ์ ๋๋ค.
Error with TranslationRecognizer in Speech SDK โ this.privAudioSource.id is not a function
Hello,
Iโm trying to implement a speech translation feature that can automatically detect and translate speech spoken in multiple languages.
To do this, I followed the documentation from the link below:
Iโm currently developing with JavaScript and using the microsoft-cognitiveservices-speech-sdk.
However, when I try to create a new TranslationRecognizer, I encounter the following error:
TypeError: this.privAudioSource.id is not a function. (In 'this.privAudioSource.id()', 'this.privAudioSource.id' is undefined)
Please see the attached screenshot of the code for reference.
Could you let me know what might be causing this issue or what I should check?
Thank you in advance!