- npm install
- npm run start
- open http://localhost:3000
- set up the example app from https://github.com/Desktop-Vision/desktop-vision-example-app - this needs to be running for api requests
- Create an account at https://desktop.vision
- Download the streamer app and sign in
- Confirm the streamer app is connected and listed at https://desktop.vision/app
- Have the user sign in to Desktop Vision, after sign in, the user will redirect back with a single use oauth code.
- Use the oauth code to fetch an access token for the user.
- Use the access token to fetch the user computers.
- Connect to a user computer with the access token & computer channel name.
- Listen for the ComputerConnection event "stream-added" for a video stream.
- npm start will launch the dev server and open the sample scene.
- npm run build will process and build your project into a dist folder.
- npm run build-xrpk will npm build, then create an XR Package in dist. (Note that this script runs an interactive CLI for details about the various aspects of your XR Package.)
- npm run dev-xrpk will do the same but output an unminified, source-mapped XR Package to help you debug your XR Package in your runtime of choice (we recommend Chimera). Please note the resulting .wbn file size will be very large - don't use this in production!