aframe-oscsend-component
Sends OSC messages over a websocket connection.
API
Property | Description | Default Value |
---|---|---|
serverURL | Path to a websocket server | localhost |
serverPort | Port of websocket server | 8080 |
messagePath | Send OSC messages with this address | '' |
Installation and Usage
In order to send messages over UDP you need to connect via WebSocket to a bridge server that will forward forward the messages it recieves. Follow this example using osc-js.
Browser
Install and use by directly including the browser files:
My A-Frame Scene
npm
Install via npm:
npm install aframe-oscsend-component
Then require and use.
;;
TODO
- Allow users to specify which attributes to send
- Reconnect behavior
- Care deeply about performance
- Demos