#Transport stream with

3 messages · Page 1 of 1 (latest)

long path
#

Hi, I'm getthig this error: Error: Invalid value for transfer

While trying to ipcRenderer.postMessage('msg', [port])
What's the best way to send a port and xfer webrtc streams to/from main/renderer? Thanks!

#

MessagePorts are a web feature that allow passing messages between different contexts. It's like window.postMessage, but on different channels. The goal of this document is to describe how Electron extends the Channel Messaging model, and to give some examples of how you might use MessagePorts in your app.