A basic webapp that makes use of the NodeJS version of the Spatial Audio API with Webpack. This basic webapp looks and has the same functionality as the example at /examples/web/simple, except this webapp will automatically generate a JWT and pass that JWT to the client.
Zach Fox
- Install NodeJS v14.15.x
- Run
npm install
- Copy
auth.example.json
toauth.json
. - Populate your credentials inside
./auth.json
.- Obtain
HIFI_*
credentials from the High Fidelity Spatial Audio API Developer Console
- Obtain
- Run
npm run start
- If your Web browser doesn't automatically open, use a Web browser to navigate to http://localhost:8080/.