Skip to content

Commit

Permalink
Recovering from ice gathering timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
daonb committed Apr 4, 2024
1 parent 4e50f3e commit 3ce819c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ This versio includes breaking changes the peers library.
- webexec copy command to copy standard input to the client's clipboard
- ack in the `timeouts` section of the configuration file

### Added

- when ice gathering timeouts, the agent will work with the gathered candidates

## [1.3.2] 2024-2-25

### Fixed
Expand Down
1 change: 0 additions & 1 deletion peers/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ func (peer *Peer) Listen(offer webrtc.SessionDescription) (*webrtc.SessionDescri
}
select {
case <-time.After(peer.Conf.GatheringTimeout):
return nil, fmt.Errorf("timed out waiting to finish gathering ICE candidates")
case <-gatherComplete:
}
return peer.PC.LocalDescription(), nil
Expand Down

0 comments on commit 3ce819c

Please sign in to comment.