admin管理员组文章数量:1279187
I have my project in next and react js, The project uses microphone for some purpose, I have used window.SpeechRecognition and SpeechSynthesisUtterance . I have used electron js to make it desktop app. The both speech feature working well on browser WebView, but Facing issue SpeechRecognition in desktop app , getting issue as "chunked_data_pipe_upload_data_stream(217)] OnSizeReceived failed with Error: -2"
const { app, BrowserWindow } = require("electron");
const path = require("path");
let mainWindow;
app.whenReady().then(() => {
mainWindow = new BrowserWindow({
width: 1028,
height: 780,
webPreferences: {
nodeIntegration: true,
},
});
const startUrl =
"http://localhost:3000/";
mainWindow.loadURL(startUrl);
mainWindow.on("closed", () => (mainWindow = null));
});
For electron js i have only used this code , there is nothing more in this like payload, contextBridge etc.
You can Refer project code at
本文标签: reactjschunkeddatapipeuploaddatastreamcc(217) OnSizeReceived failed with Error 2Stack Overflow
版权声明:本文标题:reactjs - chunked_data_pipe_upload_data_stream.cc(217)] OnSizeReceived failed with Error: -2 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741303065a2371207.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论