Provider connects iOS devices to ControlFloor. This sets up video streaming from iOS devices to the browser, and also enables the devices to be controlled remotely.
git clone https://github.com/nanoscopic/ios_remote_provider.gitgit clone https://github.com/nanoscopic/controlfloor.git
cd controlfloor- Copy example config:
cp config.json.example config.json - Edit
config.jsonas desired make./main run
Open https://yourip:8080 to see if ControlFloor is running
cd ios_remote_provider- Copy example config:
cp config.json.example config.json - Edit
config.jsonto add your Apple developer details makesecurity unlock-keychain login.keychain# to make sure developer details are there for xcode buildmake cfa
./main register- Press [enter] to register using the default password
cd repos/vidapp- Open the xcode project and install CF Vidstream on the device
- Open the app
- Click "Broadcast Selector"
- Click "Start Recording"
cd ios_remote_provider./main run
- Figure out your device id
A../bin/iosif list - Figure out your device UI width/height
A../main winsizeB. -or-./main winsize -id [your device id]C. Observe "Width" and "Height" displayed D. Ctrl-C to stop - Add device specific config block to
config.json:{ ... devices:[ { udid:"[your device id]" uiWidth:[your device width] uiHeight:[your device height] } ] } - That's it. The video app will be started automatically when the provider is started.
You may wish to use tidevice instead of go-ios to start CFA. Do the following to get it setup:
-
Reconsider using tidevice and don't follow these steps
-
Install tidevice.
pip3 install tidevice -
Add a WDA start method to your
config.json:{ ... wda:{ ... startMethod: "tidevice" } } -
Run
make usetideviceto auto-generate thecalculated.jsonfile containing the location of tidevice installed on your system. -
Start provider normally; tidevice will be used.