how play and visualize audio streaming between browsers via peerconnection?

1.4k Views Asked by At

I am using webrtc for create peerconnection and stream audio between browsers, but how can I visualize and play the audio stream with a visualizer(for example wave form) to both the transmitting and the receiving? Someone knows some example?

Thanks

1

There are 1 best solutions below

3
On

Take a look at @cwilso's excellent demos on webaudiodemos.appspot.com, in particular Audio Recorder (which inputs audio from getUserMedia to Web Audio, analyses the data and draws to a canvas element) and Live Input Effects (which does something similar but with WebGL for the visualisation).

@paul-lewis's Audio Room also uses WebGL.