EkaanshArora / Web-SpatialAudio

A spatial audio demo using Agora Web SDK

Home Page:https://ekaansharora.github.io/Web-SpatialAudio/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Agora Spatial Audio Demo

Move around in a 2D plane to experience spatial audio from other users, the SDK selectively subscribes to other remote users based on distance.

If you enter the ring encircling the square, you subscribe to the user's audio.

How to use

  • Enter your Agora App ID (and token) in ./src/main.ts.
  • Install the project dependencies by executing npm install
  • Execute npm run dev to start the web server
  • Navigate to localhost:3000 in your browser and click the start button
  • You can open the project in a new tab to simulate multiple users.

About

A spatial audio demo using Agora Web SDK

https://ekaansharora.github.io/Web-SpatialAudio/


Languages

Language:TypeScript 87.7%Language:HTML 6.6%Language:CSS 5.7%