You use relay, you speak TCP to the relay and it turns it into UDP, FreeSWITCH is oblivious that its even taking place.

On Wed, Apr 29, 2020 at 5:34 PM David P <davidswalkabout@gmail.com> wrote:
Brian West <brian@freeswitch.com> wrote:
Subject: Re: [Freeswitch-users] ADD 2 ICE CANDIDATES mod_verto
set the variable include_external_ip=true

Hey Brian,

Your tip about include_external_ip seemed relevant to my recent question whether FS supports TURN TCP; that is, can FS be configured to provide a tcp candidate in its answer sdp, which would save the cost of sending calls through TURN for users whose firewalls block needed udp ports.

I searched for your variable in the source and found
https://github.com/signalwire/freeswitch/blob/53cd06900c5ce827b2c0ac74485607d9a07d4a7d/src/switch_core_media.c#L9957
which shows that the transport is not frozen as "udp" but is the value of ice_out->cands[0][0].transport

Is it possible for this transport member to be "tcp"? How could one configure FS to provide both udp and tcp candidates?

Cheers,
David
_________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com


--

Brian West | Co-founder and Developer

Need Commercial support? email sales@freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045

Email: brian@freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com

https://www.facebook.com/signalwireinc?src=email https://twitter.com/freeswitch