I am using ClojureScript as my programming language, But I have read the @jitsi/electron-sdk readme many times and I believe got the code (both in main and render) correct.
init the render with the following webPrefrences:
(setupScreenSharingMain @main-window “hc-meeting” “com.github.Electron”)
(let [init (.-initPopupsConfigurationRender sdk)
ss (.-setupScreenSharingRender sdk)]
(info " screen sharing ")
But I still got the error:
Logger.js:154 2022-08-22T23:38:08.363Z [features/desktop-picker] Called JitsiMeetElectron.obtainDesktopStreams but it is not defined
another err message
Uncaught DOMException: Blocked a frame with origin "file://" from accessing a cross-origin frame.
should I be worried about this?