Skip to content

Tags: pion/ice

Tags

v4.0.6

Toggle v4.0.6's commit message
Include ufrag in generated ICE candidates

Include ufrag extension in the ICE candidates generated by the ICE agent

v4.0.5

Toggle v4.0.5's commit message
Update golang.org/x/net to v0.33.0 [security]

Generated by renovateBot

v4.0.4

Toggle v4.0.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Use addrEqual for candidate comparison (#752)

v4.0.3

Toggle v4.0.3's commit message
Use named return val for IP/if filter

This should make it clear that you need to return `true`
to keep it and `false` to exclude.

Relates to pion/webrtc#2958

v2.3.37

Toggle v2.3.37's commit message
Accept use-candidate unconditionally for ice-lite (#739)

There could be a mismatch between the two ends in candidate priority
when using peer reflexive. It happens in the following scenario

1. Client has two srflx candidates.
   a. The first one gets discovered by LiveKit server as prflx.
   b. The second one gets added via ice-trickle first and then
      gets a STUN ping. So, it is srflx remote candidate from
      server's point-of-view.
2. This leads to a priority issue.
   a. Both candidates have same priority from client's point-of-view
      (both are srflx).
   b. But, from server's point-of-view, the first candidate has
      higher priority (prflx).
3. The first candidate establishes connectivity and becomes
   the selected pair (client is ICE controlling and server is
   ICE controlled, server is in ICE lite).
4. libwebrtc does a sort and switch some time later based on RTT.
   As client side has both at same priority, RTT based sorting
   could make the second candidate the preferred one.
   So, the client sends useCandidate=1 for the second candidate.
   pion/ice does not switch because the selected pair is at
   higher priority due to prflx candidate.
5. STUN pings do not happen and the ICE connection eventually fails.

ICE controlled agent should accept use-candidate unconditionally if
it is an ICE lite agentt.
Just in case existing behaviour is needed, it can be configured
using `EnableUseCandidateCheckPriority`.

NOTE: With aggressive nomination, the selected pair could change
a few times, but should eventually settle on what the controlling
side wants.

v4.0.2

Toggle v4.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add ability to get selected candidate pair stats (#735)

It is useful to have stats from just the selected pair as a lightweight
option where a lot of agents are running, for example, an SFU.

lint

Switch udp_mux_test to use sha256 instead of sha1 (#733)

Minor change to this test to stop using sha1 and remove the linter
exceptions.

Co-authored-by: Daniel Kessler <dkess@google.com>

Update module golang.org/x/net to v0.29.0

Generated by renovateBot

Update module github.com/pion/dtls/v3 to v3.0.3

Generated by renovateBot

v2.3.36

Toggle v2.3.36's commit message
Add ability to get selected candidate pair stats (#735)

It is useful to have stats from just the selected pair as a lightweight
option where a lot of agents are running, for example, an SFU.

lint

Switch udp_mux_test to use sha256 instead of sha1 (#733)

Minor change to this test to stop using sha1 and remove the linter
exceptions.

Co-authored-by: Daniel Kessler <dkess@google.com>

Update module golang.org/x/net to v0.29.0

Generated by renovateBot

Update module github.com/pion/dtls/v3 to v3.0.3

Generated by renovateBot

v2.3.35

Toggle v2.3.35's commit message
Add round trip time measurement to candidate pair (#731)

* Add round trip time measurement to candidate pair

Use the round trip time measurement to populate RTT fields in
CandidatePairStats.

Atomic and tests

* Use int64 nanosecnods to make atomic easier

v4.0.1

Toggle v4.0.1's commit message
Take TCP Family into account before connecting

Before if a user disabled TCPv6 (but enabled TCPv4) we would incorrectly
start TCP connections over TCPv6 still.

Resolves pion/webrtc#2782

v4.0.0

Toggle v4.0.0's commit message
Fix pkg.go.dev link

New major version