A simple native WebRTC demo iOS app using swift that has been modified to work with UE Pixel Streaming.
- Xcode 12.1 or later
- iOS 12 or later
- Node.js + npm (For running Cirrus Signaling server)
- Run the signaling server using
node cirrus.js
somewhere on your LAN - take note of its LAN address. - Run a Pixel Streaming UE application and point it at the signalling server with address with
-PixelStreamingURL=ws://{your-signaling-address}:8888
- Build and run the iOS application from this repo (real devices work better than simulator for this).
- In the iOS app, in the text field for signaling address put in
ws://{your-signaling-address}
(can drop the port as it is connecting over 80 here) - Click the connect button in the iOS app
- Done! You should see streaming.
Most of the code is a heavy modification of https://github.com/stasel/WebRTC-iOS