Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myrobotlab/robotlab-x-app
react front end for robotlab-x
https://github.com/myrobotlab/robotlab-x-app
Last synced: 10 days ago
JSON representation
react front end for robotlab-x
- Host: GitHub
- URL: https://github.com/myrobotlab/robotlab-x-app
- Owner: MyRobotLab
- Created: 2023-02-27T00:28:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-29T00:32:38.000Z (9 months ago)
- Last Synced: 2024-04-24T11:20:38.877Z (7 months ago)
- Language: JavaScript
- Size: 3.06 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## network challenges
The app uses both http and ws to communicate with the server.
A VR headset using WebXR requires https and wss.
Being a react app it can proxy some of these connections with setupProxy.js.
Websocket* Proxying websockets DOES NOT WORK with the setupProxy.js file and a url for websocket is in REACT_APP_MESSAGE_BASE_URL=wss://localhost:8443/api/messages?user=root&pwd=pwd&session_id=2309adf3dlkdk&id=vertx-gui is required
* Proxying http works through setupProxy.js
* The webrtc currently is aiortc
cd ~/github/aiortc/examples/webcam
python webcam.py
there is a cert and key file for ssl if desired```js
app.use(
"/offer",
createProxyMiddleware({
target: "http://localhost:8080", // webcam.py
changeOrigin: true,
// ws: true,
secure: false,
})
)
```