question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS Screen Capture shows red screen when displayed in local `RTCView`

See original GitHub issue

Description:

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:

  1. Open Jitsi-Meet on iPhone device
  2. Connect to a conference room
  3. 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.

red-screen

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:open
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
saghulcommented, Aug 22, 2022

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!

1reaction
saghulcommented, Aug 18, 2022

Screen sharing does not work on the simulator, alas.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Have the red screen of death on my iPhone…
Have the red screen of death on my iPhone 6 tried everything. ... with my iphone 5s but now it's cold and won't...
Read more >
Issues with iOS Screenshare - Red Screen
Hello, I am trying to create an app that streams the users' Screen via WebRTC. For the iOS setup, I've followed the Jitsi...
Read more >
How to Screen Record on Your iPhone (With Sound)
You might record your screen to show a friend or family member how to ... with a built-in tool as well as a...
Read more >
Broadcast Your iOS Device's Screen - Take Control Books
For example, if you use the HBO Go app on your iOS device to broadcast old episodes of Game of Thrones to your...
Read more >
property 'style' does not exist on type 'intrinsicattributes - You.com ...
We'll show this source more for all searches. We'll show this source less for ... export default function Video(props: Props){ //on local stream...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found