Commit Graph

11 Commits

Author SHA1 Message Date
Sean DuBois
f32c107a62 Update lint rules, force testify/assert for tests
Use testify's assert package instead of the standard library's testing
package.
2025-04-22 23:36:32 -04:00
Steffen Vogel
05ab684741 Use testify/require instead of testify/assert
Don't continue to run a test if it has already failed
2024-03-23 07:42:06 -04:00
Steffen Vogel
5ef81b65f4 Make package REUSE compliant 2023-04-18 13:46:38 +02:00
Sean DuBois
6d30128765 Revert "Remove unknown constant"
We will re-do this in the future, but need to keep it for a major
release.

Resolves #385
2021-08-11 13:09:13 -04:00
Woodrow Douglass
366757d59d Remove unknown constant
This constant tends to cause collisions with enumerations, and is
in general a source of bugs
2021-08-10 15:51:40 -04:00
Sean DuBois
6e4403794a Implement GetSelectedCandidatePair
Related to pion/webrtc#1713
2021-04-10 16:52:52 -07:00
Will Forcey
55ce2f2b05 Add test for setting nil candidatepair
This was already fixed in c2e6f9, but adding a test to ensure we don't
regress

Resolves #303
2021-01-16 23:04:29 -08:00
Will Forcey
c2e6f947d0 Fix candidatePair.String() nil pointer
Resolves #197
2021-01-16 22:45:40 -08:00
Pion
d3e1775d73 Update CI configs to v0.4.7
Update lint scripts and CI configs.
2020-09-26 08:54:24 -07:00
Sean DuBois
63b37975b6 Make Candidate an interface
This change will allow us to have custom logic and members
per interface type. Relay candidates will have a completely different
read loop, and candidate specific state.

Relates to #47
2019-05-24 15:55:42 -07:00
Michael MacDonald
ad7c8697fd Candidate priority is incorrectly calculated
Some constants were being incorrectly generated using 2^N (XOR)
instead of 1 << N. This resulted in incorrect candidate priorities
being used to evaluate candidate pairs.

Resolves #14.
2019-04-11 13:40:39 -04:00