Add convenience functions, update Docker setup, and integrate Webpack for building WebRTC internals exporter (#3)
All checks were successful
Build and Push Docker Image / build (push) Successful in 12m31s

Reviewed-on: #3
Co-authored-by: Mirko Milovanovic <mir_ko@me.com>
Co-committed-by: Mirko Milovanovic <mir_ko@me.com>
This commit is contained in:
2025-02-21 11:21:14 +00:00
committed by kobim
parent 84479c786a
commit 5c92020169
20 changed files with 9772 additions and 72 deletions

View File

@@ -6,17 +6,17 @@ function log(...args) {
log("loaded");
import "/assets/pako.min.js";
import "./assets/pako.min.js";
const DEFAULT_OPTIONS = {
url: "http://localhost:9092",
url: process.env.WEBRTC_INTERNALS_EXPORTER_URL + ":9092",
username: "",
password: "",
updateInterval: 2,
gzip: false,
job: "webrtc-internals-exporter",
enabledOrigins: { },
enabledStats: ["data-channel", "local-candidate", "remote-candidate"]
enabledOrigins: {},
enabledStats: ["data-channel", "local-candidate", "remote-candidate", "candidate-pair"]
};
const options = {};