Request TCP allocation

1,062 views
Skip to first unread message

John

unread,
May 16, 2018, 11:50:15 AM5/16/18
to TURN Server (Open-Source project)
Hi,
AFAIK, both coturn and rfc-5766-turn supports RFC6062 - relay on TCP.
I've tried with this link:[https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/] to gather ICE candidates, with TURN server URI:
turn:[hostname]:4172?transport=tcp

But the gathered ICE candidates still show UDP as relay protocol.
How can I get TCP as relay protocol?

Thank you.

John

unread,
May 16, 2018, 11:51:54 AM5/16/18
to TURN Server (Open-Source project)
Also, the turnserver config didn't comment no-tcp-relay.

shakeeb

unread,
May 18, 2018, 1:39:47 AM5/18/18
to TURN Server (Open-Source project)
Hi John,

You are right. Both coturn and rfc-5766-turn supports RFC6062 - relay on TCP.

But Chrome, Firefox  or other WebRTC client doesn't support RFC6062 - relay on TCP.

Most WebRTC clients(I think all) only gather UDP allocation.

People often get confused seeing "transport=tcp". This is the protocol client use to communicate with the TURN Server.

But the actual protocol of the Allocation which occurs on TURN server side for peer is different. You can not configure the transport of Allocation

in the trickle-ice test page because they don't support it.    

You can use the test client which comes with coturn or rfc-5766-turn source code to test RFC6062.

Thanks,
Shakeeb

Bryan

unread,
Jul 11, 2019, 1:20:15 PM7/11/19
to TURN Server (Open-Source project)
Hi Shakeeb,
  I thought Chrome did support RFC6062 per the comments on this thread: https://groups.google.com/forum/#!msg/discuss-webrtc/bq2tUi_guE4/IgxRfjFnKSQJ

Are you sure it isnt supported?  If so, how do you find out definitively which RFC's Chrome does and doesnt support?

Thanks!
Bryan

Philipp Hancke

unread,
Jul 11, 2019, 1:55:53 PM7/11/19
to Bryan, TURN Server (Open-Source project)
WebRTC supports TURN/TCP, i.e. turn transported over a tcp connection, opening a UDP port on the TURN server. RFC 6062 is not supported.

--
You received this message because you are subscribed to the Google Groups "TURN Server (Open-Source project)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turn-server-project-rfc57...@googlegroups.com.
To post to this group, send email to turn-server-project...@googlegroups.com.
Visit this group at https://groups.google.com/group/turn-server-project-rfc5766-turn-server.
To view this discussion on the web visit https://groups.google.com/d/msgid/turn-server-project-rfc5766-turn-server/0ff3722d-4da8-4667-9b52-ac22e59d5000%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bryan

unread,
Jul 11, 2019, 2:33:25 PM7/11/19
to TURN Server (Open-Source project)
Thanks Philipp,
  How do you know RFC 6062 isnt supported? is that posted by Chrome/Google somewhere? (or is there a list of supported RFC's posted somewhere?)


On Thursday, July 11, 2019 at 1:55:53 PM UTC-4, Philipp Hancke wrote:
WebRTC supports TURN/TCP, i.e. turn transported over a tcp connection, opening a UDP port on the TURN server. RFC 6062 is not supported.

To unsubscribe from this group and stop receiving emails from it, send an email to turn-server-project-rfc5766-turn-server+unsubscribe@googlegroups.com.
To post to this group, send email to turn-server-project-rfc5766-turn-...@googlegroups.com.

Philipp Hancke

unread,
Jul 11, 2019, 2:43:25 PM7/11/19
to Bryan, TURN Server (Open-Source project)

To unsubscribe from this group and stop receiving emails from it, send an email to turn-server-project-rfc57...@googlegroups.com.
To post to this group, send email to turn-server-project...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "TURN Server (Open-Source project)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to turn-server-project-rfc57...@googlegroups.com.
To post to this group, send email to turn-server-project...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages