Polyfill Web Speech API with Cognitive Services Bing Speech for both speech-to-text and text-to-speech service.
62
stars
18
forks
source link
Speech-to-Text: Return {} when navigator.mediaDevices is falsy/undefined #98
Open
compulim opened 4 years ago
Today, on initialization for TTS, we will check if
navigator.mediaDevices
is falsy/undefined
. If it is, we will return a{}
and print warnings.We should do the same for STT.
navigator.mediaDevices
is falsy/undefined
when: