Implementing Audio Level Visualizer for Producer and Consumers

Hi,

I’m looking for a way to create an oscilloscope effect using mediasoup on ios and android. This would be similar to the effect created with hark.js on browser.

One of the possible solutions I’ve come up with is implementing AudioTrackSinkInterface on the AudioTrackInterface. Feels like there might be a easier solution to this problem.

Have other people come up with other solutions?

Garrett

1 Like

There’s many addons for the clients to initiate this effect. It’s done through audio context and the power is typically endless. I know of ocsilloscope.js and few others that would suite this need. I generally just stick with hark and with loudness levels apply an attribute level and to that CSS reacts and glows the user’s camera box.

Many options exist when comfortable with audiocontext (or Web Audio API)! :slight_smile: