You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the sample code where the following is done :
monitor.on('health:report',function(reporter,pc){varstatistics=[];console.log(reporter.id);console.log(reporter.isActive() ? 'Connection is active' : 'Connection is inactive');varchannels=reporter.getChannelReports();for(vari=0;i<channels.length;i++){varreport=channels[i];console.log(report.toJSON());}});
But I get the following error
reportToObject is not defined
And indeed when searching in the repository I see it called here :
I'm trying to use the sample code where the following is done :
But I get the following error
And indeed when searching in the repository I see it called here :
rtc-health/lib/reporter.js
Line 178 in 45a3972
But it doesn't seem to be defined anywhere.
The text was updated successfully, but these errors were encountered: