Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor: Improve handshake resiliency of peer #95

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Jan 31, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Buffer local and remote messages
  • Loading branch information
kylecarbs committed Jan 31, 2022
commit b29448176981c6b7a2eea72765e4eb81c618d23c
4 changes: 2 additions & 2 deletions peer/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ func newWithClientOrServer(servers []webrtc.ICEServer, client bool, opts *ConnOp
dcDisconnectChannel: make(chan struct{}),
dcFailedChannel: make(chan struct{}),
localCandidateChannel: make(chan webrtc.ICECandidateInit),
localSessionDescriptionChannel: make(chan webrtc.SessionDescription),
remoteSessionDescriptionChannel: make(chan webrtc.SessionDescription),
localSessionDescriptionChannel: make(chan webrtc.SessionDescription, 1),
remoteSessionDescriptionChannel: make(chan webrtc.SessionDescription, 1),
}
if client {
// If we're the client, we want to flip the echo and
Expand Down