fix sendAudio()
This commit is contained in:
parent
1b4394f9a1
commit
d0904bcdd3
1 changed files with 4 additions and 0 deletions
|
@ -761,6 +761,10 @@ export class BrowserWindow {
|
|||
`)
|
||||
});
|
||||
|
||||
ipcMain.on('writeAudio', (event, buffer) => {
|
||||
this.audioStream.write(Buffer.from(buffer));
|
||||
})
|
||||
|
||||
//QR Code
|
||||
ipcMain.handle('showQR', async (_event, _) => {
|
||||
let url = `http://${BrowserWindow.getIP()}:${this.remotePort}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue