Movement-Based Volume

Before you start, you should have a decent understanding of Between and have at least integrated basic video calling in your app. If you haven't, please start by looking at basic concepts you need to understand and start with a quick guide here.


Use the following to create a volumetric experience in any application:

// ......
// with conference already setup

// sample movement based volume
// calculation can be any number from 0-1
let updatedVolume = getVolumeFromLayout(PeerId) 

// get Peer from conference setup