turn

Compiling libnice for Android

自作多情 提交于 2019-12-04 13:28:23
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-2.0.a include $(PREBUILT_STATIC_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := gobject LOCAL_SRC_FILES

Easy way to test TURN server

∥☆過路亽.° 提交于 2019-12-04 04:21:25
问题 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 candidates section looks the same even its there's no server chosen. My TURN server is installed on Amazon EC2. I followed the install instructions from the coturn repository here: github.com/coturn/coturn

Webrtc media over tcp?

只谈情不闲聊 提交于 2019-12-03 20:25:35
问题 I am new to WebRTC. I was learned about the turn server. The below thing is used to configure the turn server works on TCP for a webrtc application. Example turn server configuration in webrtc application :- { url: ‘turn:192.158.29.39:3478?transport=tcp’, credential: ‘JZEOEt2V3Qb0y27GRntt2u2PAYA=’, username: ‘28224511:1379330808′ } The meaning for the ?transport=tcp is it works on TCP protocol like that they said. My question is, The turn server works on TCP means, it is only for establishing

WebRTC: Determine which TURN server is used in PeerConnection

こ雲淡風輕ζ 提交于 2019-11-30 20:06:54
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 outside that, wireshark would show the Proxy IP as the destination.( also not the mention the inconvenience of running it in the background) Going through the stats page and finding out, chrome --> chrome://webrtc-internals and Firefox --> about:webrtc I would like to use a alternative to the above two,

Webrtc media over tcp?

牧云@^-^@ 提交于 2019-11-30 15:46:45
I am new to WebRTC. I was learned about the turn server. The below thing is used to configure the turn server works on TCP for a webrtc application. Example turn server configuration in webrtc application :- { url: ‘turn:192.158.29.39:3478?transport=tcp’, credential: ‘JZEOEt2V3Qb0y27GRntt2u2PAYA=’, username: ‘28224511:1379330808′ } The meaning for the ?transport=tcp is it works on TCP protocol like that they said. My question is, The turn server works on TCP means, it is only for establishing a connection between turn server it works on TCP or for transferring a WebRTC media via turn server it

How does WebRTC decide which TURN Servers to Use

巧了我就是萌 提交于 2019-11-30 14:27:24
Branching off this question WebRTC - How many STUN/TURN servers do I need to specify? How does WebRTC determine which TURN servers to use when more than one is provided? Every Ice candidate is given a priority when it is gathered. It is a mixture of a couple of things and I believe that each platform(Chrome, FireFox, etc.) has their own preferences. Here is a link to the RFC explaining how priorities are to be generated. Each priority is guaranteed to be unique as the candidate ID should be unique(if the RFC is followed). So, you should never have a tie in priorities. Those with higher

WebRTC: Determine which TURN server is used in PeerConnection

假装没事ソ 提交于 2019-11-30 04:37:28
问题 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 outside that, wireshark would show the Proxy IP as the destination.( also not the mention the inconvenience of running it in the background) Going through the stats page and finding out, chrome -->

How does WebRTC decide which TURN Servers to Use

六月ゝ 毕业季﹏ 提交于 2019-11-29 19:06:08
问题 Branching off this question WebRTC - How many STUN/TURN servers do I need to specify? How does WebRTC determine which TURN servers to use when more than one is provided? 回答1: Every Ice candidate is given a priority when it is gathered. It is a mixture of a couple of things and I believe that each platform(Chrome, FireFox, etc.) has their own preferences. Here is a link to the RFC explaining how priorities are to be generated. Each priority is guaranteed to be unique as the candidate ID should

How to create stun turn server instance using AWS EC2

让人想犯罪 __ 提交于 2019-11-28 19:41:24
Actually i wants to use my own stun/Turn server instance and i want to use Amazon EC2 .If anybody has any idea regarding this please share with me the steps to create or any reference link to follow. do an ssh login to your ec2 instance, then run the below commands for installing and starting the turn server. simple way: sudo apt-get install coturn If you say no, I want the latest cutting edge, you can download source code from their downloads page in install it yourself, example: sudo -i # ignore if you already in admin mode apt-get update && apt-get install libssl-dev libevent-dev libhiredis

CoTURN: How to use TURN REST API?

痞子三分冷 提交于 2019-11-28 19:36:17
I have build coturn and run it successfully. ip:192.168.1.111. Now the question I faced is to get the Turn credential through REST API. http://tools.ietf.org/html/draft-uberti-behave-turn-rest-00 According to the passage the request format should be GET /?service=turn&username=mbzrxpgjys and response should be JSON . Now my question is: a) How to configure and command TURN SERVER to make it run in REST API mode? b) How to write a http request in the right format so TURN SERVER can reply correctly? could you give me an example? mido Few things to be clarified here are: GET /?service=turn