問題描述
最近(過去 1.5 周內)javascript 庫 WebkitSpeechRecognition 拒絕正常工作.我已經測試了使用該庫的其他電子應用程序(evan cohen 的智能鏡像)并遇到了問題.
Recently (in the past 1.5 weeks) the javascript library WebkitSpeechRecognition has refused to work properly. I've tested other electron applications that utilize the library (smart-mirror by evan cohen) and have run into issues with those.
在我測試過的所有情況下,它都會引發網絡錯誤.該庫似乎在標準瀏覽器環境中運行良好,但我似乎無法讓它與電子一起使用.有人有這方面的經驗嗎?
It throws network errors under every circumstance I've tested it. The library seems to work fine in standard browser environments but I can't seem to get it to work with electron. Does anybody have any experience in wrestling with this?
推薦答案
Google 好像已經為 electron 移除了這個功能.請參閱此 討論.
It seems that Google has removed this feature for electron. See this discussion.
這篇關于WebkitSpeechRecognition 在 Electron 中返回網絡錯誤的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!