We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1370f9 commit b754afdCopy full SHA for b754afd
1 file changed
src/webrtc-connection.ts
@@ -51,6 +51,7 @@ export interface WebRTCManagerState {
51
rtcConnections: Map<string, RTCConnection>;
52
logHandlers: Set<(logData: LogData) => void>;
53
connectionHandlers: Set<(peerId: string, connected: boolean) => void>;
54
+ pingInterval: NodeJS.Timeout | null;
55
cleanupInterval: NodeJS.Timeout | null;
56
reconnectionAttempts: number;
57
maxReconnectionAttempts: number;
@@ -80,6 +81,7 @@ function createWebRTCManagerState(): WebRTCManagerState {
80
81
rtcConnections: new Map(),
82
logHandlers: new Set(),
83
connectionHandlers: new Set(),
84
+ pingInterval: null,
85
cleanupInterval: null,
86
reconnectionAttempts: 0,
87
maxReconnectionAttempts: 5,
0 commit comments