Re: [reSIProcate] [reTurn-devel] STUN over TCP
Hi John,
Thanks for the contribution.
Note: reTurn already supports STUN/TURN over TCP/UDP/TLS. The ConnectionBase class applies to the resiprocate stack only, so these changes don't really benefit reTurn in anyway.
As for the resip stack changes. RFC5626 doesn't recommend the use of STUN use over TCP for SIP socket keepalives. See the following text from RFC5626:
For connection-oriented
transports such as TCP [RFC0793] and SCTP [RFC4960], this
specification describes a keep-alive approach based on sending CRLFs.
For connectionless transport, such as UDP [RFC0768], this
specification describes using STUN [RFC5389] over the same flow as
the SIP traffic to perform the keep-alive.
What is your use case for requiring STUN handling on a TCP based SIP transport?
Regards,
Scott