with electron 4.0 (old version) the newest version of the mediasoup-client throws “Failed to execute ‘setRemoteDescription’ on ‘RTCPeerConnection’”.
Updating electron solved the issue, I dont know if this is relevant for debugging or if this is just a chromium related issue.
Just wanted to throw that in here in case this is not expected behavior. The old mediasoup-client version I think 3.1 did work without any errors, after updating to 3.2.1 the error happened and I had to update electron to fix it.
No idea which Chromium version is included in Electron 4.0. Please use device.handlerName to figure out which Chromium version mediasoup-client detects (it will use a different ChromeXX handler based on the detected Chromium version).
Later, if you wish, you can try passing a Handler option to new mediasoup.Device(). You can pass different available ChromeXX handlers and we can narrow the issue a bit.