Skip to content

About

Free iPhone screen and audio mirroring to a Windows PC and OBS Studio. No ads, no servers, no accounts.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

130 Commits

Folders and files

Repository files navigation

MirrorLoop

Your iPhone screen on your PC, ready for OBS.

Website · Guide · App Store · Microsoft Store · Download for Windows · Support · Privacy

English · Italiano

MirrorLoop streams the screen and audio of your iPhone to a Windows PC on your home network, with a source for OBS Studio for live streaming. Free, no ads, no servers, no accounts.

Status: the iPhone app is on the App Store (version 0.15). The Windows app, with the OBS plugin, is on the Microsoft Store (version 0.15); the classic installer and the plugin alone (version 0.14.0) are on the Releases page.

The iPhone streams to the PC, which shows the image and sends it to OBS

What it does

  • Streams the iPhone screen and audio to the PC, in sync, even while the app is in the background.
  • Three quality levels: HD (720p, 30 fps), Full HD (1088p, 60 fps, the default) and Maximum (the exact resolution of the iPhone screen, 60 fps).
  • Pairing the first time: the same 6-digit code appears on the iPhone and on the PC and is confirmed on both. After that, the iPhone reconnects by itself.
  • Encrypted connection (QUIC), only on your home network.
  • "MirrorLoop" source for OBS Studio, with video and audio: no window capture needed.

What you need

  • An iPhone with iOS 27 or later.
  • A PC with Windows 11 (64-bit).
  • iPhone and PC on the same home network, set as a Private network in Windows (the receiver warns you if it is Public).
  • For live streaming: OBS Studio 31.1 or later.
  • Tip: use 5 GHz Wi-Fi with the iPhone close to the router, and connect the PC with a cable. Maximum quality needs a strong signal.

Getting started

  1. Install MirrorLoop for Windows from the Microsoft Store: open it and accept the offer to install the OBS plugin (or press P later). Or download MirrorLoop-<version>-Windows.exe from the latest release and open it. The installer is not digitally signed yet, so Windows may show "Windows protected your PC": choose More info → Run anyway. Install the receiver and, if you want, the OBS plugin.
  2. On the PC, open MirrorLoop from the Start menu. Press F1 to see the keys.
  3. On the iPhone, install MirrorLoop from the App Store, open it, choose the PC in the list and tap Start streaming.
  4. The same 6-digit code appears on the iPhone and on the PC: if it matches, tap The code matches on the iPhone and click Allow on the PC.
  5. In OBS, add a MirrorLoop source to your scene.

The installer also adds the firewall rule that opens UDP port 7450 on private networks only. You can uninstall it from Settings → Apps. If you only want the OBS plugin, download MirrorLoop-<version>-plugin-OBS.zip and extract the mirrorloop folder into C:\ProgramData\obs-studio\plugins\.

All the details, OBS audio monitoring included, are in the step-by-step guide. Something doesn't work? See the common problems or open an issue.

Privacy

MirrorLoop has no servers and collects no data: images and audio go straight from the iPhone to the PC, inside your home network, and never go through the Internet. Details in the privacy policy.

How it works

  • iPhone (ios/): captures the screen with ScreenCaptureKit, compresses the video to H.264 with VideoToolbox and sends video and audio over QUIC (Network.framework). It finds the PC by itself with Bonjour.
  • Windows PC (windows/): the receiver, in C# with .NET 10, decodes the video with Media Foundation, plays the audio and shows the image; it writes images and audio into shared memory for OBS.
  • OBS (obs/): the plugin reads the shared memory and offers it as a source.

Technical documents (in Italian): network protocol (pairing included) and shared memory for OBS.

Development

  • Windows with the .NET 10 SDK and Git. Receiver and tests: dotnet build windows/MirrorLoop.slnx -c Release and dotnet test windows/MirrorLoop.slnx -c Release.
  • For the OBS plugin (obs/): Visual Studio 2022 (Build Tools are enough) with the C++ workload and CMake 3.30 or later; build with cmake --preset windows-x64 and cmake --build --preset windows-x64 inside obs/.
  • The iOS app (ios/) doesn't need a Mac: the Xcode project is generated with XcodeGen and the .github/workflows/ios.yml workflow builds it on macOS with GitHub Actions. Builds from the main branch are signed and uploaded to TestFlight.
  • Windows release: there is a single version number for app, receiver and plugin (ios/project.yml, windows/src/MirrorLoop.Ricevitore/MirrorLoop.Ricevitore.csproj, obs/buildspec.json). Pushing a v<version> tag makes the .github/workflows/rilascio.yml workflow build the installer (Inno Setup, windows/installatore/) and the plugin zip, and prepare a draft release.

The code, comments and technical documents are in Italian.

License

MIT, except the obs/ folder (OBS Studio plugin), which is GPL-2.0 like OBS itself.

About

Free iPhone screen and audio mirroring to a Windows PC and OBS Studio. No ads, no servers, no accounts.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages