Get local & remote participant's network stats using lib-jitsi-meet

Hi,

I am using lib-jitsi-meet to create and manage conferences.
I am experiencing intermittent network failure to Jitsi -Server (Sometime it throws lots of Strophe.js 500 error logs, and sometimes user gets disconnected without throwing these logs).

I presume poor connection from user side are causing this but I wanted to know does lib-jitsi-meet automatically handles retries ? or do we have to do capture the status(if then which event?) and retry our self using lib-jitsi-meet apis.

I found these two events in lib-jitsi docs, and this is how I am trying to log,

this.connection.addEventListener(
            window.JitsiMeetJS.events.connectionQuality.LOCAL_STATS_UPDATED,
            (statsObject) => {
                console.log(statsObject)
            });
  this.connection.addEventListener(
            window.JitsiMeetJS.events.connectionQuality.REMOTE_STATS_UPDATED,
            (id, statsObject) => {
                console.log(id)
                console.log(statsObject)
            });

connection is this.connection = new window.JitsiMeetJS.JitsiConnection(null, null, this.options); Object
But I am not getting any logs regarding network connection status, am I doing anything wrong here?!Here are logs captured on console: