Commit Graph

4 Commits

Author SHA1 Message Date
Jerko Steiner
12f44e93f1 Add support for passive ICE TCP candidate
Closes #196
2020-07-15 07:51:55 +02:00
buptczq
ee0d28c779 Fix IPv6 addresses gathering
Fix isSupportedIPv6 function, when a global unicast address passed to,
the function returns false.

Resolves #176
2020-07-02 23:05:34 -07:00
Atsushi Watanabe
e670416dcc Fix random generators
Seeding random generator each time limits number of generated sequence
to 31-bits, and caused collision.
Use global random generator seeded by crypto grade random.

Use crypto/rand for cryptographic values,
and math/rand for unique identifier.
- Use UUIDv4 for mDNS name
- Use crypto/rand for ICE pwd and user fragment
- Use properly seeded math/rand for UDP port,
  tie breaker and candidate ID
2020-06-28 11:44:46 +09:00
Sean DuBois
8b4aeeaa8d Docs: Add readme and CI
Added the readme and CI using the common style.
2019-03-25 16:04:12 -07:00