Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
lf94 committed Feb 2, 2025
1 parent 4f7ff92 commit e40453c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lang/std/engineConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,12 @@ class EngineConnection extends EventTarget {
usernameFragment: event.candidate.usernameFragment || undefined,
},
})

// Sometimes the remote end doesn't report the end of candidates.
// They have 3 seconds to.
setTimeout(() => {
initiateConnectingExclusive()
}, 3000)
}
this.pc?.addEventListener?.('icecandidate', this.onIceCandidate)
this.pc?.addEventListener?.('icegatheringstatechange', function (_event) {
Expand Down

0 comments on commit e40453c

Please sign in to comment.