Questions tagged [rfc5766turnserver]

RFC 5766 issued by the IETF in 2010 is about "Traversal Using Relays around NAT (TURN): Relay Extensions to Session Traversal Utilities for NAT (STUN)"

Abstract from official RFC file:

If a host is located behind a NAT, then in certain situations it can be impossible for that host to communicate directly with other hosts (peers). In these situations, it is necessary for the host to use the services of an intermediate node that acts as a communication relay. This specification defines a protocol, called TURN (Traversal Using Relays around NAT), that allows the host to control the operation of the relay and to exchange packets with its peers using the relay. TURN differs from some other relay control protocols in that it allows a client to communicate with multiple peers using a single relay address.

The TURN protocol was designed to be used as part of the ICE (Interactive Connectivity Establishment) approach to NAT traversal, though it also can be used without ICE.

61 questions
35
votes
2 answers

Implementing our own STUN/TURN server for WebRTC Application

I am working on a webrtc application and have to implement following TURN server. https://code.google.com/p/rfc5766-turn-server/ I am following this tutorial. http://www.dialogic.com/den/developer_forums/f/71/t/10238.aspx and it says to reference…
Sam Fast
  • 571
  • 2
  • 9
  • 16
22
votes
5 answers

Installing a TURN Server on Ubuntu for WebRTC

How can I install a TURN server on my ubuntu 12.04? Can you share tutorial? I read this tutorial: Implementing our own STUN/TURN server for WebRTC Application. But what I don't understand is how I can I install my own TURN server on my ubuntu…
Dvlpr
  • 453
  • 3
  • 8
  • 20
17
votes
1 answer

ApprtcDemo with local server works between browsers but not Android native to browser

I am developing a chat application and done with it. Now I want to implement video chat also. After research a lot I decided to go with "WebRTC" library. What I have done? 1) Able to run AppRtcDemo at local server and Its working fine between…
Biraj Zalavadia
  • 28,348
  • 10
  • 61
  • 77
14
votes
1 answer

How to secure a TURN server for WebRTC?

I've just installed rfc5766-turn-server (https://code.google.com/p/rfc5766-turn-server/) on an Amazon server in order to relay my WebRTC calls. Since authentication username and password will be distributed to every client in WebRTC iceServers, how…
jbescoyez
  • 1,393
  • 9
  • 17
9
votes
1 answer

How to configure WebRTC with Coturn and oAuth

I want to use coturn with oAuth. If I understood it correctly I need to do two things: Storing the oAuth tokens in the database coturn is using Sending the ACCESS-TOKEN and USERNAME STUN attributes First point is clear but how do I need to change…
lefloh
  • 10,653
  • 3
  • 28
  • 50
6
votes
3 answers

Why my turn server doesn't work?

I can connect in any situation when using appr.tc ice servers (google turn servers). but i can't connect with my own turn server. I did config my own turn server by coturn project. I'm using google's libjingle_peerconnection api to create an…
Saeed
  • 572
  • 2
  • 7
  • 19
6
votes
2 answers

Install rfc5766-turn-server, Trying to bind fd to : errno=99

I'm using an Ubuntu 14.04 (an Azure VPS actually) so i have to installed rfc5766-turn-server not the latest coturn version. I have following this guide. At the last step, i cannot start turnserver. My command to start: turnserver -n -L…
khoa_chung_89
  • 975
  • 9
  • 25
6
votes
0 answers

NAT traversing issue with video conference using webrtc

I have use webrtc for video conference. I used this tutorial to learn. In local places it works perfectly, but when I try to connect to other country based location it faces NAT traversing issues that the same tutorial said to solve I should use…
tusharchavda007
  • 223
  • 2
  • 12
5
votes
0 answers

Apprtc with coturn STUN/TURN server

Simply, I am going run locally popular example of WEBRTC app: github.com/webrtc/apprtc The apprtc installed, and even works locally without turn server ( "Same origin policy" don't allow use Google TURN server, which works only from …
Thomas
  • 97
  • 2
  • 8
5
votes
1 answer

RFC5766-turn-server with TLS

I'm trying to start my TURN server with TLS enabled. I use the following line to start the server: daemon --user=$USER $TURN $OPTIONS --tls-listening-port 3478 --cert /root/cert_2014_11/my_domain_nl.crt --pkey /root/cert_2014_11/my_domain_nl.key…
P.G Wisgerhof
  • 732
  • 1
  • 8
  • 27
5
votes
1 answer

rfc5766-turn-server - how to enable TLS and HTTP CONNECT method with it?

I have this following setup for rfc5766-turn-server but i am not sure yet how to enable the TLS in turnserver.conf? Any idea what is missing to make sure TLS is activated and what else related sources are missing? # cat…
user285594
4
votes
1 answer

How to calculate TURN server bandwidth for webrtc?

I have developed simple many to many video conferencing website using webrtc for that i need to configure TURN server. I am confused about choosing bandwidth size. Maximum 500kbps of data will be sent by single user. Maximum participants will be…
4
votes
1 answer

missing relay candidates from TURN server

Just installed the coturn server (https://github.com/coturn/rfc5766-turn-server/). It looks like I'm getting only STUN candidates, but no TURN. As a client I'm using node's webrtc-native. I tried with public TURN server and did get 'relay'…
nchokoev
  • 398
  • 2
  • 9
4
votes
3 answers

WebRTC - how to set always to use TURN server?

In the standard specs it says you can set ENUM value to "relay" : http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCIceServer but, How do you set the enum to "relay" using Javascript of following? if (tmp.indexOf("typ relay ") >= 0) {…
user285594
3
votes
0 answers

Coturn server incomplete logs

I have a Corturn server installed and working fine for most of the scenarios. However there are some error scenarios which I need to investigate through logs. However it doesnt print any logs in log file after startup logs. Your suggestions really…
DarshanaR
  • 31
  • 2
1
2 3 4 5