turn

missing relay candidates from TURN server

空扰寡人 提交于 2019-12-10 16:13:52
问题 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' candidates, but I can't get any with my server. Is there something I'm missing? 来源: https://stackoverflow.com/questions/35709804/missing-relay-candidates-from-turn-server

What is 'realm' in TURN server?

你离开我真会死。 提交于 2019-12-10 09:50:07
问题 I want to host a TURN server for my WebRTC project, but I don't know what the 'realm' attribute does. I've looked at coturn and pion and they both seem to require me to enter this. Can someone explain what it is? 回答1: It is a "key" to access a group of address that have a common "owner". It is an isolating measure: a TURN server can have one "default realms" or more "named realms" in its database. And any realm has its own users and each of them have a proper login/password couple to identify

WebRTC uses always TURN outside our LAN

我的未来我决定 提交于 2019-12-08 03:54:33
问题 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 it's often TURN-to-TURN. What I expect: I know of symmetric NAT problems and expect 20% to 30% of all connections to require a TURN connection. But so far I never found any two clients outside of

Installing CoTurn 4.5.0.6 on Ubuntu 16.04.3 x64 TLS not working

这一生的挚爱 提交于 2019-12-06 13:47:10
问题 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 downloaded CoTurn: wget https://github.com/coturn/coturn/archive/4.5.0.6.tar.gz I unpack it: tar xvfz 4.5.0.6.tar.gz Go inside the folder: cd coturn-4.5.0.6 Install Libraries & Utilities needed: sudo apt

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

耗尽温柔 提交于 2019-12-06 06:59:40
问题 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 between the real browsers (Chrome and Firefox) either direct or via CoTURN relay, and I normally get 6-15 ICE candidates on these browsers. I have a (frankly, unnecessary) call to getUserMedia on the receiving side, which allows host ICE candidates

Compiling libnice for Android

大憨熊 提交于 2019-12-06 06:20:26
问题 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 (adding #include <netdb.h> did not resolve this and I'm out of ideas here). See my Android.mk below LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := glib LOCAL_SRC_FILES := lib/libglib

What is 'realm' in TURN server?

萝らか妹 提交于 2019-12-06 01:36:56
I want to host a TURN server for my WebRTC project, but I don't know what the 'realm' attribute does. I've looked at coturn and pion and they both seem to require me to enter this. Can someone explain what it is? It is a "key" to access a group of address that have a common "owner". It is an isolating measure: a TURN server can have one "default realms" or more "named realms" in its database. And any realm has its own users and each of them have a proper login/password couple to identify access and working sessions. Of course, computers which made a login into a "named realm" are virtually

How to secure a TURN server for WebRTC?

青春壹個敷衍的年華 提交于 2019-12-05 17:03:55
问题 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 can I ensure that only my clients use my TURN to relay their call? 回答1: You can use this instead https://code.google.com/p/coturn/. It's evolved from rfc5766-turn-server project. Supported TURN authentication mechanisms: 'classic' long-term

How to record a relayed stream on server using TURN

瘦欲@ 提交于 2019-12-05 07:50:23
So here's the story, I'm building a WebRTC app and I have to record the stream on server. "WebRTC is p2p dude, choose a media server" Yes, I know, please avoid this comment ;) But then I tought about one thing, what if I force all the stream to use the TURN server. The packets are going through the server, so I guess I can take them and save it The question is how to do this. Any suggestions? TURN servers are intended to be relayed media, which means that media streams are not decrypted, mux'ed, processed, or recorded. I get that you're asking to avoid the "choose a media server" comment, but

Installing CoTurn 4.5.0.6 on Ubuntu 16.04.3 x64 TLS not working

时光毁灭记忆、已成空白 提交于 2019-12-04 19:32:34
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 downloaded CoTurn: wget https://github.com/coturn/coturn/archive/4.5.0.6.tar.gz I unpack it: tar xvfz 4.5.0.6.tar.gz Go inside the folder: cd coturn-4.5.0.6 Install Libraries & Utilities needed: sudo apt-get install libssl-dev sudo apt-get install sqlite3 sudo apt-get install libsqlite3-dev sudo apt-get