Internal turn question

hyuk

Member
Hi,
When using the internal turn server,
it was confirmed that the port can only be used with tcp.
As I checked while changing the options in flashphoner.properties,
the turn server does not operate normally if the option ice_tcp_transport=true is set.
Any reason?
 

Max

Administrator
Staff member
Good day.
There is no known TURN server implementation working with WebRTC over TCP, because TURN actually wraps media UDP traffic to TCP.
So you can either use TURN or use WebRTC over TCP, but not both.
 

hyuk

Member
ice_tcp_transport=true
Are you saying that the option is an option used when using it directly without going through the Turn server?
Thank you for quick response.
 

Max

Administrator
Staff member
ice_tcp_transport=true
Are you saying that the option is an option used when using it directly without going through the Turn server?
This option enables WebRTC over TCP feature. In this case, RTP traffic goes over TCP instead of UDP. It requires the same media ports to be opened for incoming connections, for example 31001-32000/tcp. Those ports are used subsequentally.
TURN feature is intended to bypass firewalls because it uses one port for websocket connection (8443) and one port for media traffic (3478).
 
Top