https://github.com/younglim/ios-screen-mirroring
Instructions for mirroring iOS device on web browser
https://github.com/younglim/ios-screen-mirroring
Last synced: over 1 year ago
JSON representation
Instructions for mirroring iOS device on web browser
- Host: GitHub
- URL: https://github.com/younglim/ios-screen-mirroring
- Owner: younglim
- License: mit
- Created: 2019-01-16T08:19:45.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-16T08:21:37.000Z (over 7 years ago)
- Last Synced: 2025-02-13T03:43:51.357Z (over 1 year ago)
- Size: 1.95 KB
- Stars: 9
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ios-screen-mirroring
Instructions for mirroring iOS device on web browser
## Instructions to install ios-minicap
### 1. Connect an iOS device
### 2. Install prerequisites
In terminal, type the following commands. Omit the $ sign when typing the commands.
```
$ brew install libjpeg-turbo
$ brew install cmake
```
### 3. Install ios-minicap
In terminal, navigate to desired folder, type the following command.
```
$ git clone https://github.com/openstf/ios-minicap
```
Alternatively, download the folder from .
### 4. Additional fixes
You might be prompted to install additional modules, with some of the following commands
```
$ cd /User/yourname/ios-minicap/example
$ npm install express
$ npm install ws
$ npm install websocket
```
In /User/yourname/ios-minicap/example, locate app.js. Open the file in a text editor, after line 64, add in:
```
stream.destroy();
```
The resulting lines should look like:
```
ws.on('close', () => {
console.info('Lost a client')
stream.end()
stream.destroy();
})
```
### 5. Run minicap
```
$ cd /User/yourname/ios-minicap
$ ./build.sh
$ ./run.sh
```
Keep the terminal open, in a new terminal window, carry out Step 5.
### 6. Run demo
In a new terminal window, type the following commands.
```
$ cd /User/yourname/ios-minicap/example
$ npm install
$ node app.js
```
### 7. Open demo in browser
Open in browser to see mirrored screen of iOS device.