Screen sharing not working on iOS


I have implemented the latest JitsiMeet iOS SDK Pod (3.8.1) in my app and I have followed the guide to allow screen sharing support:

Although the Broadcast Receiver is working and everything seems to be fine, when I start the screen sharing the other participants only see a gray screen. In order to check the implementation I have downloaded the screen sharing sample:

By default it doesn’t even compile, but after fixing it gives the same result: gray image when sharing the screen. I have tested the meeting in the Jitsi servers and in a custom one but nothing changes. I’m deploying in Xcode 12.5.1 with iOS 14.4 and I have tested it in an iPad with iOS 14.7.1.

Do anyone have experimented this kind of issue or knows a workaround?