iOS Screen Capture shows red screen when displayed in local `RTCView`
See original GitHub issueDescription:
When sharing your screen from an iOS (15.6) device, the RTCView
that displays the stream locally shows a red screen.
I’ve also noticed the same issue on a demo app I’ve created very similar to this one.
With the same demo app on Android, I do get the hall of mirrors effect, but on iOS, for some reason, it just shows a red screen.
Steps to reproduce:
- Open Jitsi-Meet on iPhone device
- Connect to a conference room
- Start screen sharing
Expected behavior:
Like Android, I’d expect to see a hall-of-mirrors effect on the local RTCView
.
Actual behavior:
Instead, we get a straight red screen. Below is a screenshot of the iOS app with the issue exposed.
Server information:
- Jitsi Meet version: N/A
- Operating System: N/A
Client information:
- Browser / app version: 22.4.0 build 1657277707
- Operating System: iOS 15.6
Additional information:
I’ve also created a very similar demo app that, instead of displaying the screen capture locally, it uses PeerJS to share the stream to a remote device.
In that case, I can see the iPhone screen fine on the remote device. So, this seems to be an issue when displaying the screen capture on a local RTCView
.
Not sure if this is an iOS restriction to prevent hall-of-mirrors, or if it’s a bug, hence the creation of this issue.
Issue Analytics
- State:
- Created a year ago
- Comments:8 (4 by maintainers)
Ah sorry I had misunderstood you! This is when you are sharing from the device itself. Yes, I can repro. And yeah, we should be showing the avatar to allow the hall-of-mirrors effect.
Thanks for the report!
Screen sharing does not work on the simulator, alas.