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
3
votes
1 answer

Can I use Twisted as STUN/TURN (ICE) Server?

I want to implement a WebRTC peer connection. I do not know how to setup an ICE server or what tool should I use. Can anyone advice me on this. Thank you very much.
2
votes
1 answer

coturn + webrtc: host behind NAT couldn't connect to turn server

I'm trying to integrate screen-sharing with WebRTC on my website. If I try to establish a connection between two chrome browser on the same device (normal and incognito) everything is fine. When I try to establish the connection between my browser…
alex_i
  • 21
  • 2
2
votes
1 answer

Is it possible to have a turn server without configuring realm?

I was trying to host a turn server for my webRTC project. I have my entire server running on a virtual machine static public IP Address. I found this article Turn Server Installation Guide. For configuring the turn server we need to have a domain…
Argha Sen
  • 61
  • 6
2
votes
1 answer

Webrtc connection over turn strange behavior with relay candidates

I have two clients communicating over webrtc. (Client A writen in js, Client B in Python with aiortc). Now it happens that Client A wants to connect from a mobile Network thus it requires a turn-relay connection. I have already setup a turn server…
Tanja Bayer
  • 711
  • 5
  • 13
2
votes
1 answer

using turn server as relay makes latency high

As you might know, webrtc said to be peer-to-peer. But this true, when both sides can see each other and communicate inside of network, which is not achievable all the time (because of NATs and firewalls). So in these scenarios, STUN servers are not…
Ali Bahrami
  • 910
  • 9
  • 21
2
votes
1 answer

Is there a way to make a webrtc video recording work on a secured network with blocked ports?

I read somewhere that the TURN server should be used for these kinds of scenario but it looks like this is just used for video conferencing/chatting type. In my case I only need to record a video in a browser. Is this something that a TURN server is…
Kok A.
  • 167
  • 1
  • 15
2
votes
0 answers

Webrtc Ice Connection fails on IOS even when turn ice candidates are gethered.

I am making a video call system in webrtc and everything is working fine on web and android while the ice connection fails when calling from web to ios although ice candidates are added as visible in this chrome webrtc log. enter image description…
2
votes
0 answers

How coturn works?

I was read the turnserver rfc-5766. In this the figure 1 the following are the things are gets take placed. Turn server Turn client Peer A Peer B My understanding is the peer A and peer B are used for the webrtc clients who wants to communicate…
sureshkumar
  • 589
  • 5
  • 15
2
votes
0 answers

How many Allocations can TURN server create?

I am talking about Nat Traversal. There is a limit to the UDP port number of a server. So i think a TURN server can create 64k Allocations total which means only 64k clients can communicate with other peers though a TURN server at a time. Is there a…
jiafeng fu
  • 405
  • 1
  • 3
  • 12
2
votes
1 answer

Can't access Coturn web interface

I have a running coturn instance on Centos-7-x64, if I access it through the browser I can see: TURN Server use https connection for the admin session After examining the documentation, I found this: Add the admin user(s) to the database, with…
Shlomi Schwartz
  • 8,693
  • 29
  • 109
  • 186
2
votes
1 answer

TURN And STUN Server Credentials

I am follwing this http://www.html5rocks.com/en/tutorials/webrtc/infrastructure tutorial. This tutorial or discussion is about TURN/STUN servers. And this tutorial add turn and stun server code like below. { 'iceServers': [ { 'url':…
Dvlpr
  • 453
  • 3
  • 8
  • 20
1
vote
0 answers

how to solve slow p2p connection on turnserver using webrtc?

I've created the video Call App for using webrtc and also using turn server for p2p connection, Sometimes TurnServer not working properly in a P2P connection, User A Wants to connect the UserB, and the socket Server received the data, but UserB…
maranR
  • 363
  • 8
1
vote
0 answers

WebRTC Video Streaming fails through Airtel Fiber, works fine with 4G and other ISP like ACT, TTN

I have setup a webRTC peer on a remote machine using the RTCbot python project. My goal is to access the webcam and microphone remotely. I setup a turn server on an AWS instance and I'm able to watch the video feed and hear the audio on a remote…
Arvind N
  • 11
  • 1
1
vote
0 answers

coturn is not selecting mongodb as its db when using it in docker

i am trying to run coturn in docker folowing this tutorial it says edit coturn/turnserver.conf according your db selection (mysql or postgresql or redis or mongodb) so i added a mongodb string in this default conf file i…
swaheed
  • 3,671
  • 10
  • 42
  • 103
1
vote
1 answer

Make requst to stun server (Coturn)

Im create a coturn server and check it by TrickleICE https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ . Its work. Now i want to write simple client. Im connect to server by UDP client: udpClient = new UdpClient(); …
soniko62
  • 11
  • 2