jitsi / jitsi-meet-electron

Jitsi Meet desktop application powered by :electron:
Apache License 2.0
1.51k stars 467 forks source link

Screen sharing problem on macOS #881

Closed supczinskib closed 1 year ago

supczinskib commented 1 year ago

When I download the binary (2023.7.0), everything works fine. When I build the app myself (npm install; npm run dist), when I try to share the screen, macOS (13.4.1) asks permission to record the screen, which I grant, it is listed, but after restarting the app disappears from the list and asks for permission again.

https://github.com/jitsi/jitsi-meet-electron/assets/40168732/a81063e7-32b2-452f-a048-352bce77bf52

saghul commented 1 year ago

Do you notarize the app?

csett86 commented 1 year ago

And do you sign the app with an Apple Distribution certificate?

supczinskib commented 1 year ago

Thank you for the tip. I did not expect such an effect when the app is not signed with a certificate.

supczinskib commented 1 year ago

Signing the app with a certificate solved the problem. Unfortunately, notarization does not work. The following error is returned. Have you encountered such a problem?

JSON Response is: { records = ( { reason = "Record not found"; recordName = "2/2/be6eae99fea1a8ddb0bf7cd77e8069710f7d8012"; serverErrorCode = "NOT_FOUND"; } ); } CloudKit query for Jitsi Meet.app (2/be6eae99fea1a8ddb0bf7cd77e8069710f7d8012) failed due to "Record not found". Could not find base64 encoded ticket in response for 2/be6eae99fea1a8ddb0bf7cd77e8069710f7d8012 The staple and validate action failed! Error 65.

Thanks again for your help.

csett86 commented 1 year ago

No, notarizing worked without issues for me, so no idea where that error is coming from

supczinskib commented 1 year ago

Problem has been solved. The "Developer ID Certification Authority" certificate was missing from the system. The topic can be closed.

cert