Questions tagged [turn-by-turn]

1

votes
1

answer
483

Views

How to solve: UDP send of xxx bytes failed with error 11 in Ubuntu?

UDP send of XXXX bytes failed with error 11 I am running a WebRTC streaming app on Ubuntu 16.04. It streams video and audio from Logitec HD Webcam c930e within an Electronjs Desktop App. It all works fine and smooth running on my other machine Macbook Pro. But on my Ubuntu machine I receive errors a...
Nerd
1

votes
2

answer
44

Views

How to redirect and load balance locally generated packets through iptables?

Here is the scenario I am working on. I have sslh listening on 443 which redirects https traffic to 445 and TURN traffic to 3478. I also have 6 TURN servers listening on 3478 to 3483. I wish to load balance the incoming TURN traffic across all these ports. I tried load balancing through the PREROUTI...
Mystic monk
1

votes
0

answer
108

Views

Firewall blocking UDP for WebRTC Video Chat

I am attempting to make a simple videochatting application. However, I am unable to have a video call with a participant who is on a public or corporate wifi network due to UDP packets being blocked. I have already attempted to create a TURN server and added it into the iceServer config under RTCMul...
Muiz Chunara
1

votes
0

answer
160

Views

WebRTC android hangs after answer. No ICE candidates received

I'm using the latest version of WebRTC Android that's available via Gradle. I have two physical android phones and am trying to use WebRTC to communicate between them. I have tried using lists of public STUN servers as well as setting up STUN/TURN with xirsys and also building and running coTurn (al...
Alex Meuer
1

votes
1

answer
230

Views

turn server appears to be broken

i know there are not any free turn server available for webrtc , but i read that http://numb.viagenie.ca/ provide free turn server , so i sign up at there account and they gave me username and password. and i use this username and password just like this { 'urls':['turn:numb.viagenie.ca'], 'username...
user10316397
1

votes
0

answer
96

Views

WebRTC uses always TURN outside our LAN

My problem: I wrote a video chat application based on WebRTC. When two clients connect inside our LAN, they always get a Peer-to-Peer connection. But when a client from our LAN connects with a client outside our LAN it's always a Peer-to-TURN connection. When mobile devices connect with each other i...
Tsunamis
1

votes
0

answer
34

Views

Turn Server is not working in Firewall, NAT in CentOS

I am facing issue on internal network, when I establish a call from internal network to public network, Peer gets disconnected. It is working internally in network and it is also working public to public network. But it is not working for internal to public network. I have already open required port...
Janmejaysinh Gohil
1

votes
1

answer
397

Views

XirSys Credentials Validation

I have performed the POST request to XirSys to retrieve my list of servers and credentials per their Getting Started Guide. Is there a way to confirm that the credentials XirSys provides me work? I am passing them into a third party conferencing solution and it relay candidates are not created. Usi...
Ternary
1

votes
1

answer
1.2k

Views

STUN/TURN/ICE implementation with Ejabberd server and XMPP client iOS

I am using ejabberd-16.04 on my mac and XMPPFramework from robbiehanson. It works fine for chatting, no problem. But now I want to add voice calling into my application. I am using Jingle Protocol for call establishment and it works fine for direct communication (i.e. both caller and callee are in s...
D4ttatraya
1

votes
1

answer
282

Views

PubBub WebRTC Android Demo is Not Connecting from Android to Android

When I tried the demo app https://kevingleason.me/AndroidRTC/, it was working as expected. But when I tried with two android devices, I can make a call and receive call, but they don't get connected. In both devices, its own camera feed is displayed with a text 'Connecting...'. I tried on both my h...
solar
1

votes
1

answer
1.6k

Views

how to go to a particular page in turn.js

i want to design a magazine i searched a lot i got the bellow code and i modified it as need. but how to searching particular page in a magazine and can it but done with turn.js or anything else Using turn.js and the new zoom feature 1 2-3 4-5 6-7 8-9 10-11 12-13 14-15 function loadApp() { $('#ca...
bharath
1

votes
1

answer
1.5k

Views

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 62.0.3202.89: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ with: stun::3478 turn::3478 [username:test] On Digital Ocean I created a droplet Ubunt...
Herman Fransen
1

votes
1

answer
1.4k

Views

coturn: Need help configurating my server correctly

I am trying to set up a STUN/TURN server on my local computer for a webrtc application of me. I decided to use coturn. Note that my server is running behind a NAT. So i fired up my Ubuntu VM and installed it. After reading through the wiki I got it working, atleast on my local network. For testing...
marco56
1

votes
2

answer
0

Views

How to stream WebRTC audio through a NAT?

I have a WebRTC multi-party app that works on both localhost and on an ngrok.io localhost tunnel. However, when I try and test it with my friend, who is connected through a router on their end, I am able to see an offer/answer exchange as well as an ICE candidate exchange, but no sound gets streamed...
John Smith
1

votes
1

answer
156

Views

ICE protocol what is base?

In ICE protocol, What is Base? I understood Base as, for the server reflexive candidate , host candidate is the base, is it correct or not? How to find the foundation of the candidate?
user4790894
1

votes
2

answer
2k

Views

Coturn/turnserver : error 437: Mismatched allocation: wrong transaction ID (WebRTC)

I have this structure : Web server : Apache. it's in a LAN. It is on a pc (windows 7) which has public static ip. PC is in a network. Signal server: In a VM (VirtualBox Centos 6) on the same pc. STUN/TURN server : Coturn '4.5.0.4'. In a VM (VirtualBox Centos 6) on the same pc. Client A : Laptop, Vis...
user1621010
1

votes
3

answer
157

Views

How does a STUN server behave when it receives request with same Transaction ID from diffrent STUN Agents?

When a STUN server receives a request from two different STUN Agents with the same Transaction ID, how should it behave?
Abhishek
1

votes
2

answer
474

Views

FreeSWITCH: Unable to connect from browser(WebRTC) behind enterprise firewall

I am running a FreeSWITCH server on a public domain. I am able to make call from my browser(WebRTC with sipjs) to the FreeSWITCH server from a direct Internet connection. I am testing it on a Firewall that allows only TCP on port 443. I am running a separate TURN server. I am trying to connect from...
Senthil Ganesh
1

votes
2

answer
131

Views

Can network traversal service tokens be shared among the peers in a multi user WebRTC session

I have been going back and forth on this with a twilio support engineer, and I'm not sure if they understand my question completely. I'm hoping an evangelist/someone who has used the network traversal service in a production WebRTC application can help. I have a lambda microservice that requests a t...
imperiumsage
1

votes
1

answer
700

Views

WebRTC: Missing relay candidates in Firefox

I've problems to establish a WebRTC connection when firefox is involved and a TURN server is needed. The reason is reproducable with this test tool: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ Try the following stun server configuration: URI: turn:numb.viagenie.ca userna...
JT2809
1

votes
1

answer
235

Views

Is WebRTC TURN bandwith usage the same as STUN?

I'm implementing HD screen sharing so minimizing bandwidth usage is very important. In the first scenerio, all clients are connected to a single client directly using stun (client a connects to client b, client a connects to client c, clients a connects to client d). In that case the user has to tra...
Zhinkk
1

votes
1

answer
2.6k

Views

Installing CoTurn 4.5.0.6 on Ubuntu 16.04.3 x64 TLS not working

I am trying to install CoTurn 4.5.0.6 on a Digital Ocean Ubuntu 16.04.3 LTS. I can't use sudo apt-get install coturn since it installs version 4.5.0.3. Also I can't install Ubuntu 17.10 since I need long term support (TLS). I create a droplet on Digital Ocean with Ubuntu 16.04.3 LTS. Then I download...
Herman Fransen
1

votes
1

answer
83

Views

How long do I need the TURN servers

If I have a TURN server which I use for my WebRTC application, do I have to rely on it for both creating connection between two peers sending data between these peers or can I close the server once the connection has been established?
Devanshu Linux
1

votes
1

answer
67

Views

Would caching ICE candidates and sdp not work even if we know exactly the route of the connection?

I understand that in P2P and more dynamic environment caching ICE candidates and sdp will not be a good practice, because the stuff you cache might not be able to apply for the next WebRTC connection. But how about the under the circumstances where we know exactly how the route of connection should...
Winston Chen
1

votes
1

answer
0

Views

How does a TURN server send data to peers behind a NAT?

I understand in TURN there is a client, a TURN server, and peer(s). The client itself creates an Allocation on the TURN server, after which a relayed transport address is returned back to the client in order to send data to one or many peers. I understand how the client can get around its NAT, howev...
Kris
1

votes
1

answer
386

Views

XirSys When do I request new Ice servers?

So I completely understand how to use getIceServers via your demo, but what's the best practice for implementing on the server side / compiled client-side? 'This token should only be implemented in a secure environment, such as a server-side application or a compiled client-side application.' Do the...
GreenEggs
1

votes
2

answer
579

Views

How to embedded IceCandidates to SDP?

The signalling mechanism which we have implemented requires to send the icecandidates in the sdp itself. Do you have any idea how to embed icecandidates in sdp? Also, if the icecandidates are embedded in sdp then how the PeerConnection will initiate p-2-p connection? Or does the PeerConnection can i...
Neernay
3

votes
0

answer
47

Views

Video Conference MCU NAT Traversal not work

I have successfully compiled source code of doubango opentelepresence system (An open source video conference MCU) and successfully tested. I can make video calls through desktop version and using webrtc (sipml5 client) with Chrome and Firefox (with some modifications because the sipml5 was not comp...
M.Mahdipour
3

votes
0

answer
771

Views

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 anything for the media transfer also it have to use the...
sureshkumar
5

votes
1

answer
737

Views

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 --CA-file /root/cert_2014_11/PositiveSSLCA2.crt The...
Patrick Wisgerhof
5

votes
1

answer
305

Views

Twilio WebRTC TURN relay randomly stops working after a few minutes

I am using the Twilio Network Traversal Service as part of a native application I am working on to perform peer-to-peer remote desktop connections. We implement a subset of the WebRTC protocol stack that is equivalent to the WebRTC data channels (not the WebRTC video and audio protocols). When using...
awakecoding
6

votes
1

answer
2.5k

Views

Is 'long-term credentials' authentication mechanism *required* for WebRTC to work with TURN servers?

I'm intending to run my own TURN service for a WebRTC app with coturn - https://code.google.com/p/coturn/. The manual says this about authentication and credentials: ... -a, --lt-cred-mech Use long-term credentials mechanism (this one you need for WebRTC usage). This option can be used with either...
Gus Hogg-Blake
2

votes
1

answer
220

Views

Computing Foundations for candidate in Interactive Connectivity Establishment (ICE) protocol

I am trying to compute Foundations for ice candidates, I am referring from RFC 5254 section 4.1.1.3.I have gone through the RFC 5254 but I am unable to understand how to compute foundations for candidates.Is there any algorithm for computing foundations for candidates in ICE protocol.
Abhishek
2

votes
2

answer
3.9k

Views

Easy way to test TURN server

I'm looking at this site, which is supposed to be table to test a TURN server (according this this answer). plugin.temasys.com.sg/demo/samples/web/content/peerconnection/trickle-ice/index.html I put in my server info, but couldn't find anything to determine if the server is working. The ice candidat...
i suck at programming
3

votes
1

answer
1.6k

Views

WebRTC, STUN/TURN not working outside LAN

index.html (Offerer) var socket = io.connect('http://127.0.0.1:80'); //socket.io socket.emit('player 1'); var iceServers = { iceServers: [ {'url':'stun:turn1.xirsys.com'}, {'username':'myusername','url':'turn:turn1.xirsys.com:443?transport=udp','credential':'mycredential'}, {'username':'myusername',...
genesisxyz
3

votes
1

answer
1.2k

Views

Compiling libnice for Android

I'm trying to compile libnice (v0.18 to be specific) for Android, but have run into some troubles. How can I compile libnice for Android? I have listed my attempts so far below. 1st Attempt My first try was using a custom Android.mk makefile but I got an error stating AI_NUMERICHOST undeclared (addi...
Managarm
3

votes
1

answer
1.1k

Views

Kurento Hello World Stuck after receiving candidates

I am trying to setup a Kurento media server behind an nginx proxy & testing with the Kurento-hello-world example. The TURN server is in place & Kurento is up. I added the TURN url in file /etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini as explained here turnURL=kurento:[email protected]
Jean-Baptiste Heren
5

votes
1

answer
3.4k

Views

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 the web client side I used: 'iceServers':{[ 'url':...
Michael P
5

votes
2

answer
2.3k

Views

WebRTC: Determine which TURN server is used in PeerConnection

Scenario: You would like to know if TURN server is being used for a particular call and which one from the array of TURN servers you provided during PeerConnection creation, is being used. Right now there are two options: Wireshark: But when you are behind a corporate proxy and TURN server is outsid...
mido
2

votes
2

answer
663

Views

Manually insert TURN users (Coturn) into a database

I'm trying to set up a TURN server for a project using Coturn but am finding that documentation is sketchy at best... I realise that there is a turnadmin tool that will do this for you, but I would greatly prefer to just run queries on my database directly. This is an app with potentially many users...
Marijn Ophorst

View additional questions