Event "TRACK_AUDIO_LEVEL_CHANGED" never gets fired for Remote Tracks

Hi guys,

I’m running the example from https://github.com/jitsi/lib-jitsi-meet/blob/master/doc/example/example.js and the event TRACK_AUDIO_LEVEL_CHANGED never gets fired for Remote Tracks just for Local Track. Can you help me?

Thanks

track.addEventListener(
        JitsiMeetJS.events.track.TRACK_AUDIO_LEVEL_CHANGED,
audioLevel => console.log(`Audio Level remote: ${audioLevel}`));

I believe it just isn’t working on Firefox. I checked meet.jit.si and the audio indicators are not changing for remote videos. I have not debugged deeply but it looks like the remote tracks are not found in the webrtc stats while iterating through all the stats polled from webrtc: https://github.com/jitsi/lib-jitsi-meet/blob/master/modules/statistics/RTPStatsCollector.js#L1264. This could be on the jitsi side, maybe the side of the webrtc adapter used by jitsi, or somewhere even the browser somehow.

You’re right! I’ve tested in Chrome and it works!

I’ll have to dig to make it work on Firefox too.

Thank you so much!