We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is the recommended solution for communicating between two renderer processes? Should the main process be in the middle to coordinate it?
The text was updated successfully, but these errors were encountered:
Well I'm using the main process as the go-between (I've read that there is no way around this) and it looks a bit like this:
ipcMain.answerRenderer('get_microphone_device', () => { return ipcMain.callRenderer(mainWindow, 'get_microphone_device'); });
Closing the issue as this seems to work fine.
Sorry, something went wrong.
You could consider leveraging the Broadcast Channel API, which will allow you to communicate directly between Chrome windows.
@johanneslumpe thanks, great advise! It works like a charm 🙂
No branches or pull requests
What is the recommended solution for communicating between two renderer processes? Should the main process be in the middle to coordinate it?
The text was updated successfully, but these errors were encountered: