Questions tagged [turn]

Traversal Using Relays around NAT is an internet protocol that allows clients to receive connections even if their addresses are translated by middleware.

Traversal Using Relays around NAT (abbreviated: TURN) is an internet protocol that allows clients to receive connections even if their addresses are translated by middleware like NATS or firewalls. A related concept is .

Not to be confused with:

415 questions
6
votes
1 answer

SessionDescription is Null. in web rtc after updating Chrome to latest v 89. Working on previous Chrome Versions

"Answer" of SDP offer is not sent to Web App(running on Windows/Mac/Linux) from Android/iOS application after updation of Chrome to latest v89 (released on 9 March 2021). It is working fine on Chrome v88 and below. Offer SDP: o=- 3986944572502207628…
Nadeem Iqbal
  • 2,357
  • 1
  • 28
  • 43
6
votes
2 answers

Configuration CoTurn on Ubuntu not working

I don't get any candidates while testing my STUN & TURN server (CoTurn) with Trickle ICE on a MacBook 10.12.6 using Chrome…
Herman Fransen
  • 2,200
  • 5
  • 24
  • 40
6
votes
0 answers

iOS & Safari 11 WebRTC does not gather STUN/TURN Trickle ICE Candidates

My web application is failing to gather WebRTC relay ICE candidates via a CoTURN server when using Safari 11 on iOS 11 (iPhone 5s & iPhone 7) or desktop. The web application (which establishes a one-way audio only WebRTC peer connection) works fine…
Justin
  • 663
  • 7
  • 19
6
votes
1 answer

WebRTC iceGatheringChanged with state 'complete' takes far too long to fire when using TURN (~minute)

Scenario: I'm using WebRTC (Google's libjingle) on iOS and PeerConnection is setup using a TURN server and I'm waiting for all candidates to gather before I send them to the peer (I'm using SIP). The problem is that although all candidates are…
atsakiridis
  • 1,002
  • 5
  • 19
5
votes
1 answer

How to configure coturn with an alternative listening port?

We tried to configure coturn with an alternative listening port, and it's not working. I'd like to clarify if we're doing the right thing and if it doesn't work because of /me stupid or the server. We're using turns (secure). I want the server to…
Oliver Hausler
  • 4,900
  • 4
  • 35
  • 70
5
votes
0 answers

why the turn server does not support for the tcp connection?

I am new to WebRTC. I need to configure my own turn server for my webrtc application. I was installed my turn server using the below command. apt-get install coturn I need to run the turn server over tcp only. It don't have to use the UDP for…
sureshkumar
  • 589
  • 5
  • 15
5
votes
2 answers

How to create my own STUN or TURN server using java

I have been working on a video chat application using WebRTC and using Java Websocket as a Signalling server. This application is working successfully on Tomcat. Currently I am using​ Google's STUN server. var pc_config = {"iceServers":…
Kishor Prakash
  • 8,011
  • 12
  • 61
  • 92
5
votes
1 answer

TURN server for WebRTC with REST API authentication

I'm trying to set up the rfc5766-turn-server TURN server for webRTC from here. I was able to successfully relay my video through this TURN server using a turnuserdb.conf file where I have my username and password (my_user_name:my_password). And on…
Michael P
  • 2,017
  • 3
  • 25
  • 33
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
0 answers

Video streaming through libnice and gstreamer

I want to stream video from IP camera to remote PC which is behind the NAT. For this purpose i am using, libnice and gstreamer. On one end, I have implemented the below pipeling. rtspsrc <-> nicesink Remote client pipeline nicesrc <-> rtph264depay…
Jagdish
  • 1,848
  • 3
  • 22
  • 33
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
5
votes
1 answer

NAT Traversal - Probability of success using STUN

I am developing a P2P application, and I need to use STUN and/or TURN for NAT traversal. I have looked into the issues that an arise when using STUN only (basically it will not always work because it is UDP based and some firewalls won't like that -…
orcaman
  • 6,263
  • 8
  • 54
  • 69
4
votes
2 answers

WebRTC: do we need a TURN server if one peer is always using Full Cone Or Address Restricted (but not Port Restricted) NAT?

I have been reading a bit about WebRTC, and I'm not getting why we need a Turn Server if only 1 peer is using Symmetric NAT, and the other is using neither Symmetric nor Port Restricted NAT, so let’s say A is using Full Cone NAT, B is using…
Thabet Sabha
  • 141
  • 1
  • 7
4
votes
1 answer

Why does WebRTC use TURN sometimes?

I've written a small WebRTC demo that streams a video file to the other peer and everything works fine (it's a real P2P connection without using the TURN server) except for this: One client connects via a mobile network and one via wifi. When the…
Mt109
  • 41
  • 1
4
votes
1 answer

WebRTC - RTCDataChannel's onmessage event is not firing

I am trying to write a basic implementation of WebRTC to send text data using RTCDataChannel. My signalling is working properly. LocalDescription and RemoteDescription is set on both peers and icecandidate events fire properly and ice candidates are…
1 2
3
27 28