- NodeJS LTS or Latest
npm install
npm start
npm install
npm run test
Open http://localhost:3000 to view it in your browser.
in the .env file select in the environment variable whether to use Mux or Dolbi.
in the variable VITE_WEBRTC_PROVIDER_NAME
, assign 'MUX' or 'DOLBY'.
Follow the MUX docs here.
If you want to quickly generate a one-off JWT for testing, you might want to try the mux-cli, and use the
spaces:sign
command to quickly get a JWT.
Set the following env variable to the signed JWT:
VITE_MUX_SPACE_JWT
You can find the docs for the MUX Spaces SDK here.
Follow the DOLBY docs here.
In the dashboard get the authentication token and add it in the following environment variable:
VITE_DOLBY_API_KEY