Webrtc superlog

This commit is contained in:
2025-06-11 00:37:47 -07:00
parent dbf45dbf14
commit 9ff871b0e3
3 changed files with 15 additions and 5 deletions

View File

@@ -534,7 +534,7 @@ class PeerConnection {
private isSettingRemoteAnswerPending: boolean = false;
private polite = true;
private webRTCSuperlog = true;
private dataChannelSuperlog = true;
private dataChannelSuperlog = false;
private chunkSize = (16 * 1024) - 100;
messageSuperlog: boolean = false;
sendQueueSuperLog: boolean = false;
@@ -553,7 +553,12 @@ class PeerConnection {
static config = {
iceServers: [
{ urls: "stun:ddln.app" },
{ urls: "turn:ddln.app", username: "ddln1", credential: "ddln1" },
// { urls: "turn:ddln.app", username: "a", credential: "b" },
{ urls: "stun:stun.l.google.com" }, // keeping this for now as my STUN server is not returning ipv6
{ urls: "stun:stun1.l.google.com" },
{ urls: "stun:stun2.l.google.com" },
{ urls: "stun:stun3.l.google.com" },
{ urls: "stun:stun4.l.google.com" },
],
};
// longMessageQueue: string[] = [];