gortc / stun

Fast RFC 5389 STUN implementation in go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

client/agent: Retransmissions

backkem opened this issue · comments

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.

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