Webrtc superlog
This commit is contained in:
@@ -534,7 +534,7 @@ class PeerConnection {
|
|||||||
private isSettingRemoteAnswerPending: boolean = false;
|
private isSettingRemoteAnswerPending: boolean = false;
|
||||||
private polite = true;
|
private polite = true;
|
||||||
private webRTCSuperlog = true;
|
private webRTCSuperlog = true;
|
||||||
private dataChannelSuperlog = true;
|
private dataChannelSuperlog = false;
|
||||||
private chunkSize = (16 * 1024) - 100;
|
private chunkSize = (16 * 1024) - 100;
|
||||||
messageSuperlog: boolean = false;
|
messageSuperlog: boolean = false;
|
||||||
sendQueueSuperLog: boolean = false;
|
sendQueueSuperLog: boolean = false;
|
||||||
@@ -553,7 +553,12 @@ class PeerConnection {
|
|||||||
static config = {
|
static config = {
|
||||||
iceServers: [
|
iceServers: [
|
||||||
{ urls: "stun:ddln.app" },
|
{ 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[] = [];
|
// longMessageQueue: string[] = [];
|
||||||
|
|||||||
@@ -395,7 +395,7 @@ class PeerConnection {
|
|||||||
this.isSettingRemoteAnswerPending = false;
|
this.isSettingRemoteAnswerPending = false;
|
||||||
this.polite = true;
|
this.polite = true;
|
||||||
this.webRTCSuperlog = true;
|
this.webRTCSuperlog = true;
|
||||||
this.dataChannelSuperlog = true;
|
this.dataChannelSuperlog = false;
|
||||||
this.chunkSize = (16 * 1024) - 100;
|
this.chunkSize = (16 * 1024) - 100;
|
||||||
this.messageSuperlog = false;
|
this.messageSuperlog = false;
|
||||||
this.sendQueueSuperLog = false;
|
this.sendQueueSuperLog = false;
|
||||||
@@ -727,7 +727,12 @@ class PeerConnection {
|
|||||||
PeerConnection.config = {
|
PeerConnection.config = {
|
||||||
iceServers: [
|
iceServers: [
|
||||||
{ urls: "stun:ddln.app" },
|
{ 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" },
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
//# sourceMappingURL=PeerManager.js.map
|
//# sourceMappingURL=PeerManager.js.map
|
||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user