rtcstats icon indicating copy to clipboard operation
rtcstats copied to clipboard

Uncaught Reference Error: module is not defined

Open Ayan-Bandyopadhyay opened this issue 4 years ago • 0 comments

I added the following line to my html:

<script src="rtcstats.js"></script>

However, I get the error "Uncaught Reference Error: module is not defined" in rtcstats.js, specifically this line:

module.exports = function(trace, getStatsInterval, prefixesToWrap) {

Ayan-Bandyopadhyay avatar Jul 11 '20 03:07 Ayan-Bandyopadhyay