Issues with iOS Screenshare - Red Screen

I am trying to create an app that streams the users’ Screen via WebRTC. For the iOS setup, I’ve followed the Jitsi tutorial ([iOS SDK · Jitsi Meet Handbook](iOS SDK | Jitsi Handbook)).

It seems to be working fine and I don’t get any errors in XCode or the Metro server. But when executing this code [1], I only get a red screen. That red screen however is in the correct resolution and even rotates when my phone rotates.

I’ve looked through both GitHub Issues as well as this page and haven’t found anything regarding this error. Help would be much appreciated!

Thanks in advance!


const Home = () => {
  let [stream, setStream] = useState<any>(null);

  useEffect(() => {
    (async () => {
          video: true,
        .then(stream => {
        .catch(error => {
          // Log error
  }, []);

  return (
              streamURL={stream ? stream.toURL() : null}
              style={tailwind('h-64 w-full')}

export default Home;

Hey @niklas

Were you able to fix this?

how to fix it? i fore