Does AudioLevelObserver work with PlainTransports?

I have an app set up that uses both WebRtcTransports and PlainTransports. I am trying to set up an AudioLevelObserver on my room and notice that it works perfectly with my WebRtcTransports, but doesn’t seem to do anything with the PlainTransports.

As far as I can tell the producer is added correctly when I call this._audioLevelObserver.addProducer (no errors are thrown), but the this._audioLevelObserver.on("volumes",...) event is never fired when I talk into the microphone transmitting over the PlainTrainsport - even though I hear the sound being transmitted to my peers. Should this work the same as a WebRtcTransport?

Not sure if it’s relevant but I am using a Seeed 4 mic array with an NVidia Jetson Nano.

Thanks!
Paul

It depends on a RTP header extension (ssrc audio level) that legacy RTP endpoints do not include in RTP packets.ñ

1 Like