問(wèn)題描述
最近(過(guò)去 1.5 周內(nèi))javascript 庫(kù) WebkitSpeechRecognition 拒絕正常工作.我已經(jīng)測(cè)試了使用該庫(kù)的其他電子應(yīng)用程序(evan cohen 的智能鏡像)并遇到了問(wèn)題.
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.
在我測(cè)試過(guò)的所有情況下,它都會(huì)引發(fā)網(wǎng)絡(luò)錯(cuò)誤.該庫(kù)似乎在標(biāo)準(zhǔn)瀏覽器環(huán)境中運(yùn)行良好,但我似乎無(wú)法讓它與電子一起使用.有人有這方面的經(jīng)驗(yàn)嗎?
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 好像已經(jīng)為 electron 移除了這個(gè)功能.請(qǐng)參閱此 討論.
It seems that Google has removed this feature for electron. See this discussion.
這篇關(guān)于WebkitSpeechRecognition 在 Electron 中返回網(wǎng)絡(luò)錯(cuò)誤的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!