teleportxr 1.0.74 → 1.0.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,3 +4,14 @@ Teleport virtual reality server for node.js
4
4
  1. Ensure node.js is installed.
5
5
  2. Run npm install teleportxr.
6
6
  3. See https://github.com/teleportxr/teleport-nodejs-server-example.git for example usage.
7
+
8
+ ## Environment variables
9
+
10
+ The library itself reads the following environment variables. Variables that
11
+ configure the example server (`TELEPORT_*`, `PORT`) are documented in the
12
+ [teleport-nodejs-server-example](https://github.com/teleportxr/teleport-nodejs-server-example)
13
+ README.
14
+
15
+ | Variable | Default | Description |
16
+ |----------|---------|-------------|
17
+ | `WEBRTC_CONNECT_TIMEOUT_MS` | `10000` | Time in milliseconds to wait for a client to complete WebRTC connection establishment. Clients that don't establish a peer connection within this window are disconnected and removed. Read in `client/client.js`. |
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "name": "teleportxr",
18
18
  "description": "Teleport Spatial Server on node.js",
19
- "version": "1.0.74",
19
+ "version": "1.0.75",
20
20
  "repository": {
21
21
  "type": "git",
22
22
  "url": "git+https://github.com/simul/teleport-nodejs.git"