summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client-web/source/sw/worker.ts1
-rw-r--r--client-web/source/user/remote.ts3
2 files changed, 0 insertions, 4 deletions
diff --git a/client-web/source/sw/worker.ts b/client-web/source/sw/worker.ts
index 94db220..a06f3db 100644
--- a/client-web/source/sw/worker.ts
+++ b/client-web/source/sw/worker.ts
@@ -28,7 +28,6 @@ self.addEventListener("unload", () => {
const streams = new Map<string, { readable: ReadableStream, size: number }>()
self.addEventListener("message", ev => {
- console.log(ev);
const { path, size } = ev.data, port = ev.ports[0]
const readable = port_to_readable(port)
streams.set(path, { readable, size })
diff --git a/client-web/source/user/remote.ts b/client-web/source/user/remote.ts
index bab8eff..bd89e0e 100644
--- a/client-web/source/user/remote.ts
+++ b/client-web/source/user/remote.ts
@@ -92,7 +92,6 @@ export class RemoteUser extends User {
if (PREFS.notify_join) notify(`${this.display_name} joined`)
}
if (message.provide) {
- console.log(message.provide.id);
const d = new_remote_resource(this, message.provide)
if (!d) return
if (d.info.kind == "track" && d.info.track_kind == "audio" && PREFS.optional_audio_default_enable) this.request_resource(d)
@@ -171,14 +170,12 @@ export class RemoteUser extends User {
let stuff = "";
stuff += `ice-conn=${this.pc.iceConnectionState}; ice-gathering=${this.pc.iceGatheringState}; ice-trickle=${this.pc.canTrickleIceCandidates}; signaling=${this.pc.signalingState};\n`
stats.forEach(s => {
- // console.log("stat", s);
if (s.type == "candidate-pair" && s.selected) {
//@ts-ignore trust me, this works
if (!stats.get) return console.warn("no RTCStatsReport.get");
//@ts-ignore trust me, this works
const cpstat = stats.get(s.localCandidateId)
if (!cpstat) return console.warn("no stats");
- // console.log("cp", cpstat);
stuff += `via ${cpstat.candidateType}:${cpstat.protocol}:${cpstat.address}\n`
} else if (s.type == "codec") {
stuff += `using ${s.codecType ?? "dec/enc"}:${s.mimeType}(${s.sdpFmtpLine})\n`