stun

STUN/TURN server connectivity test

时间秒杀一切 提交于 2019-11-28 04:41:33
I am trying to figure out how to test whether a STUN/TURN server is alive and properly responding to connections. Ideally this test would be performed from an external machine, just in case the STUN/TURN machine is down for this case should also be reported by the connectivity test. Has anyone looked into this case in the past? What solutions would be recommended? Edit: A nice implementation in github.io taken from comment to another answer( choose "relay" in IceTransports value): Test TURN Server following Benjamin Trent's advice, I wrote the below code to test TURN server's connectivity,

WEBRTC STUN stun.l.google.com:19302

好久不见. 提交于 2019-11-28 03:12:56
I have just downloaded a video chat project. It uses a STUN server and specifies the URL stun:23.21.150.121 . How can I use my own server instead of the STUN server? What do I have to enter instead of this URL? Actually there is no need to setup your own STUN or TURN servers, because there are a lot of public/semipublic servers. STUN from Google not always works very well. This is my latest verified list (don't forget stun:/turn: scheme in URL): {url:'stun:stun01.sipphone.com'}, {url:'stun:stun.ekiga.net'}, {url:'stun:stun.fwdnet.net'}, {url:'stun:stun.ideasip.com'}, {url:'stun:stun.iptel.org'

How to create stun turn server instance using AWS EC2

岁酱吖の 提交于 2019-11-27 20:34:34
问题 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. 回答1: 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

STUN, TURN, ICE library for Java

限于喜欢 提交于 2019-11-27 20:07:19
I need to establish a P2P UDP and TCP Connection between two Users. Both of them are behind a NAT. A little research leads me to STUN , TURN and ICE . Is there any Java solution (library) except jSTUN which seems to work only on UDP. And TURN, ICE is much better for the symmetric NAT Problem. Not to toot my own horn too much, but might I recommend trying IcedJava . (It's a part of the SipTools project) It's actively being developed, has a stable release 0.9 version, and supports use cases like RTP streaming out of the box. As far as TCP support, that's slated for a later release, but you're

How NAT traversal works in case of peer to peer protocols like bittorrent.

扶醉桌前 提交于 2019-11-27 14:24:45
I know about NAT traversal and about STUN, TURN and ICE and its use. I want to know whether these are implemented in peer to peer file sharing application like bittorrent. Whether trackers facilitate peers behind NATs to communicate with each other by helping in creating direct connection using STUN or relay through TURN. In the case of Distributed Hash Table(DHT) how one peer would communicate with other peer behind NAT ? BitTorrent does not need to connect to any particular member in a swarm, it's not a p2p chat protocol where two specific end points want to talk to each other. All it cares

Remote VideoStream not working with WebRTC

一世执手 提交于 2019-11-27 12:28:07
问题 EDIT: I wrote a detailed tutorial explaining how to build an simple Videochat-application including a signaling server: Tutorial: Create your own Videochat-Application with HTML and JavaScript Please tell me if you find it helpful & understandable. Thanks! i am trying to get Streams to work via WebRTC and Websocket (nodejs-server). As far as i can see the handshake via SDP works and the Peerconnection is established. The problem is - the Remote-Video is not playing. The src-Attribute gets the

Implementing our own STUN/TURN server for WebRTC Application

核能气质少年 提交于 2019-11-27 07:06:27
I am working on a webrtc application and have to implement following TURN server. https://code.google.com/p/rfc5766-turn-server/ I am following this tutorial. http://www.dialogic.com/den/developer_forums/f/71/t/10238.aspx and it says to reference the TURN server as follows, in javascript code where RTCPeerConnection is created. var pc_config = {"iceServers": [{"url": "stun:stun.l.google.com:19302"}, {"url":"turn:<turn_server_ip_address>", "username":"my_username", "credential":"my_password"}]}; pc_new = new webkitRTCPeerConnection(pc_config); I am little confused, why are we referencing to

STUN/TURN server connectivity test

回眸只為那壹抹淺笑 提交于 2019-11-27 00:36:14
问题 I am trying to figure out how to test whether a STUN/TURN server is alive and properly responding to connections. Ideally this test would be performed from an external machine, just in case the STUN/TURN machine is down for this case should also be reported by the connectivity test. Has anyone looked into this case in the past? What solutions would be recommended? 回答1: Edit: A nice implementation in github.io taken from comment to another answer( choose "relay" in IceTransports value): Test

WEBRTC STUN stun.l.google.com:19302

家住魔仙堡 提交于 2019-11-26 23:58:37
问题 I have just downloaded a video chat project. It uses a STUN server and specifies the URL stun:23.21.150.121 . How can I use my own server instead of the STUN server? What do I have to enter instead of this URL? 回答1: Actually there is no need to setup your own STUN or TURN servers, because there are a lot of public/semipublic servers. STUN from Google not always works very well. This is my latest verified list (don't forget stun:/turn: scheme in URL): {url:'stun:stun01.sipphone.com'}, {url:

STUN, TURN, ICE library for Java

喜你入骨 提交于 2019-11-26 20:11:08
问题 I need to establish a P2P UDP and TCP Connection between two Users. Both of them are behind a NAT. A little research leads me to STUN, TURN and ICE. Is there any Java solution (library) except jSTUN which seems to work only on UDP. And TURN, ICE is much better for the symmetric NAT Problem. 回答1: Not to toot my own horn too much, but might I recommend trying IcedJava. (It's a part of the SipTools project) It's actively being developed, has a stable release 0.9 version, and supports use cases