feat: disabled enabledOrigins handling and clean up unused code in webrtc-internals-exporter

This commit is contained in:
2025-02-07 10:25:20 +01:00
parent 3a31a30fc7
commit 19ac4dec45
3 changed files with 3 additions and 10 deletions

View File

@@ -65,7 +65,6 @@ class WebrtcInternalExporter {
}
}
//if (stats.length !== 0) {
window.postMessage(
{
event: "webrtc-internal-exporter:peer-connections-stats",
@@ -75,7 +74,6 @@ class WebrtcInternalExporter {
);
log(`Stats collected:`, stats);
//}
setTimeout(this.collectAllStats.bind(this), this.updateInterval);
return stats;