gortc / stun

Fast RFC 5389 STUN implementation in go
BSD 3-Clause "New" or "Revised" License
494 stars 53 forks source link

client/agent: Retransmissions #39

Closed backkem closed 6 years ago

backkem commented 6 years ago

When using the UDP transport packets may be dropped. The stun client SHOULD (but it seems more like a MUST with exceptions of LAN usage) implement retransmissions. One thing to note is that the ICE spec has it's own specification for RTO. It will therefore have to be exported if we want to reuse stun.Client and/or stun.Agent in package ice.

ernado commented 6 years ago

Should be covered by re-transmission implementation in stun.Client, RTO option and SetRTO method.