This is a sample application for the Dolby.io Web SDK is a spatial audio enabled version of the getting started project included in conjunction with this blog.
- A Dolby.io Account
- A Microphone connected to your test machine.
- If you haven't done so already, create a free account on Dolby.io.
- Clone the project.
- Go to your dashboard, create a token and get your
Consumer Key
andConsumer Secret
.
In the file src/scripts/client.js
, locate the following lines and set your key and secret.
const consumerKey = "CONSUMER_KEY";
const consumerSecret = "CONSUMER_SECRET";
WARNING: It is best practice to use the VoxeetSDK.initializeToken function to initialize the SDK. Please read the documentation at: https://docs.dolby.io/communications-apis/docs/initializing-javascript
- Now, simply open the file
index.html
in your web browser and start playing with the application.
Make sure to read the JavaScript documentation for the SDK.
In the case any bugs occur, report it using Github issues, and we will see to it.
We welcome your interest in trying to experiment with our repos.
If there are any suggestions or if you would like to deliver any positive notes, feel free to open an issue and let us know!
Spatial audio opens the door to a range of possibilities when building your web conferencing app, such as virtual events, meeting spaces, and collaboration tools. For this blog we kept it simple with a fixed place example, however, the tools work just as well for building a dynamically updating web app that adjusts spatial audio as the users move around in a 2D or 3D environment.
Whatever your next spatial project is, the Dolby.io team is here to help. Connect with us or check out a few of our helpful resources to dive deeper into the awesome world of spatial audio and Dolby.io:
- Enabling Spatial Audio in Your Web Applications
- The Dolby.io Documentation for Integrating Spatial Audio
- The Dolby.io Web SDK reference
- Best Security Practices When Handling API Keys
Using decades of Dolby's research in sight and sound technology, Dolby.io provides APIs to integrate real-time streaming, voice & video communications, and file-based media processing into your applications. Sign up for a free account to get started building the next generation of immersive, interactive, and social apps.