jitsi / jitsi-meet-sdk-samples

Jitsi Meet mobile SDK examples (Android, iOS and React Native)
Apache License 2.0
270 stars 235 forks source link

Screen sharing not working - IOS swift #147

Closed MarinaAmy closed 2 years ago

MarinaAmy commented 2 years ago

Hello, I followed the example of this git to add screen sharing and I have this error displayed:

[modules/RTC/BridgeChannel.js] Sending ReceiverVideoConstraints with {"constraints":{"4e2c2f5e":{"maxHeight":2160}},"defaultConstraints":{"maxHeight":0},"lastN":0,"onStageEndpoints":["4e2c2f5e"],"selectedEndpoints":[]} [JitsiMeetSDK] [modules/RTC/ScreenObtainer.js] Using getDisplayMedia for screen sharing 2022-07-08 16:58:56.522102+0200 AppName[1733:488085] [unspecified] container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled

Screen sharing starts via the iphone but on the other screens it cannot be seen and the iphone user has lost the connection in the room

Can you help me please

Thanks

saghul commented 2 years ago

Have you followed this guide? https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-ios-sdk#screen-sharing-integration

MarinaAmy commented 2 years ago

I checked that it seems correct to me with the steps I took. I must have a problem with my group of identifiers. I have to put it in the info.plist (target app + target extension) and in the .entiltlement file and also in the SampleHandler file, right? I think it's a problem with the group app

Thank you for your help

saghul commented 2 years ago

Yes, they need to match.