Streaming an Android-based VR headset to your computer
Setting it up the first time
The first time you have to set it up with a cable. The Oculus Quest has a USB-C port (the one used for charging). Use this to connect to your computer.
Preparing your Oculus Quest
Your Quest needs to be in Developer mode. This is super easy, just open your companion app on your phone and go to Settings and enable Developer mode. You may need to create an organization first on the Oculus website. You can enter any name you want for the organization.
First you need Homebrew on your system. It's a utility that lets you install a lot of tools from the Terminal. Follow the instructions on https://brew.sh/ (just paste the line they suggest into Terminal).
Next, in Terminal:
brew cask install android-platform-tools(Android developer tools)
brew install scrcpy(the streaming tool)
(Tip: To launch Terminal, press ⌘+Space to show Spotlight, write "Terminal", then hit Return.)
Connecting Quest to computer
- Connect Quest to your computer with cable
- In Terminal, run
adb devicesand make sure you allow computer within the Quest
Next, to enable wireless connections you need to:
- Make sure your computer and Quest are on the same WiFi!
adb tcpip 5555to enable wireless connections
adb shell ip routeto get the IP of your Quest
- Unplug the Quest from your computer
adb connect <IP>:5555(replace
<IP>with the IP from step 3) to connect to the Quest wirelessly
scrcpy on the Terminal! There are cropping options
that you can play with to only show one eye, etc.
scrcpy -b 25M -c 1440:1540:60:60 to start. You can play
with the numbers after
-c (width : height : x : y).