Screensharing issues with Electron 12.2.3 and Electron SDK >3.0.4

Hello all,

I’m having problems with screen sharing of my Electron app since version 3.0.5 of the Jitsi Meet SDK.

With version 3.0.4 the screen sharing still works as expected.

“electron”: “12.2.3”,
@jitsi/electron-sdk”: “3.0.8”,
@jitsi/js-utils”: “2.0.0”,

When I click on screensharing in the Electron client (using Electron SDK 3.0.8), I get the following console error:

[features/desktop-picker] Error while obtaining desktop sources: Error: Error invoking remote method ‘jitsi-screen-sharing-get-sources’: Error: An object could not be cloned.

It then remains with a loading animation in the monitor or window selection.

Could someone give me a hint what I am doing wrong here?

Thanks a lot for your help!

I think you need Electron >= 13 for using the SDK > 3.0.4. Bummer we didn’t catch this, oh well.

1 Like

Thanks for your quick reply!

An update of Electron is unfortunately causing us quite some problems due to some breaking changes. Is there a chance that the problem will be fixed in the next version of Electron SDK?

Since it has not been noticed so far, it seems to have a rather low impact. :confused:

Thanks for your work!

Unlikely, since Electron 13 is now EOL: Stable Releases | Electron

1 Like

Hello,
has this been solved yet, am having the same issue.
any suggestions?

No, it hasn’t, and it won’t be fixed. You need to update your Electron version, it’s End-of-Life and it’s not getting any security updates.