зеркало из https://github.com/mozilla/hubs.git
0aadbec89c | ||
---|---|---|
.vscode | ||
doc | ||
scripts | ||
src | ||
.babelrc | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.htmlhintrc | ||
.prettierignore | ||
.prettierrc.json | ||
.travis.yml | ||
Jenkinsfile | ||
LICENSE | ||
PRIVACY.md | ||
README.md | ||
TERMS.md | ||
package.json | ||
webpack.config.js | ||
yarn.lock |
README.md
A prototype client demonstrating a multi-user experience in WebVR. Built with A-Frame
Getting Started
To run the social client, run:
git clone https://github.com/mozilla/hubs.git
yarn install
yarn start
Building Static Files
To bundle javascript and generate the html templates, run:
yarn build
Query Params
room
- Id of the room (an integer) that you want to joinallow_multi
- Allow multiple instances off the app in the same browser sessionenable_screen_sharing
- Enable screen sharingaccept_screen_shares
- Display screens shared by other usersavatar_scale
- Scale your self!quality
- Either "low" or "high". Force assets to a certain quality levelmobile
- Force mobile modeno_stats
- Disable performance statsvr_entry_type
- Either "gearvr" or "daydream". Used internally to force a VR entry typedisable_telemetry
- Iftrue
disables Sentry telemetry.log_filter
- Adebug
style filter for setting the logging level.debug
- Iftrue
performs verbose logging of Janus and NAF traffic.
Additional Resources
- Reticulum - Phoenix-based backend for managing state and presence.
- NAF Janus Adapter - A Networked A-Frame adapter for the Janus SFU service.
- Janus Gateway - A WebRTC proxy used for centralizing network traffic in this client.
- Janus SFU Plugin - Plugins for Janus which enables it to act as a SFU.
- Hubs-Ops - Infrastructure as code + management tools for running necessary backend services on AWS.