WebRTC demo with ReplayKit broadcast example Demonstrates how to use WebRTC with a broadcast extension. This demo is based on a test signalling server: https://appr.tc
To enable broadcasting do the following:
- Install the app on the mobile device
- Settings > Control Center, and tap Customize Controls
- Under Customize Controls, include Screen Recording
- Open the Control Center by swiping up from the bottom edge of any screen, and find 3D touch/long press the Screen Recording icon.
- Select WebRTCDemoBroadcast from the list
- Open Console app and select mobile device in the list at the left top corner
- In the search text field of the Console app enter the following text: "Joining room:"
- Wait until a similar to the following text appears: "Joining room:broadcast_xxx"
- Open https://appr.tc/ and enter the room number from the previous step i.e broadcast_xxx
- Enjoy screen broadcasting!