remove debugging logs

This commit is contained in:
schlagmichdoch 2023-05-04 17:39:12 +02:00
parent f39bfedf98
commit 0ac3c5a11f

View file

@ -734,7 +734,6 @@ class WSPeer extends Peer {
} }
sendJSON(message) { sendJSON(message) {
console.debug(message)
message.to = this._peerId; message.to = this._peerId;
message.roomType = this._roomType; message.roomType = this._roomType;
message.roomSecret = this._roomSecret; message.roomSecret = this._roomSecret;
@ -854,7 +853,6 @@ class PeersManager {
_onWsDisconnected() { _onWsDisconnected() {
for (const peerId in this.peers) { for (const peerId in this.peers) {
console.debug(this.peers[peerId].rtcSupported);
if (this.peers[peerId] && (!this.peers[peerId].rtcSupported || !window.isRtcSupported)) { if (this.peers[peerId] && (!this.peers[peerId].rtcSupported || !window.isRtcSupported)) {
Events.fire('peer-disconnected', peerId); Events.fire('peer-disconnected', peerId);
} }