Questions tagged [stun]

STUN stands for Session Traversal Utilities for NAT. It helps peers located behind NATs communicate with each other when they only have private IP addresses.

STUN stands for Session Traversal Utilities for NAT. It helps peers located behind different NATs communicate with each other when they only have private IP addresses.

The underlying technique used by STUN is to have both peers contact a central peer (having a public IP address) to help them communicate directly with each other. Achieving this involves performing NAT hole punching. Performing STUN is not always possible because of restrictions established on NATs.

The original hole punching method used by STUN is now deprecated, because it does not cover all cases properly.

460 questions
0
votes
1 answer

Twilio - STUN / TURN URL

I'd like to give the Twilio STUN/TURN a test within my iOS app, currently using another framework for WebRTC video connections. Below are the STUN / TURN settings I use in the framework. I've looked around the Twilio docs, but I can't seem to find…
Adam North
  • 49
  • 5
0
votes
0 answers

ICE4J gets only local IP

I have it connecting over the local intranet fine, but of course the point is outside of my router and I am having issues. I don't think I see public IP addresses in the list is the issue. SDP information generated by…
msj121
  • 2,812
  • 3
  • 28
  • 55
0
votes
0 answers

WebRTCDemo apk fetch wrong addresses from STUN/TURN server

following http://www.webrtc.org/native-code/android, the WebRTCDemo apk I built runs well on my android device and can start video calls with Chrome. the issue is 1) the apk failed to establish connections with peers when in different LANs, 2) but…
user435657
  • 625
  • 2
  • 10
  • 28
0
votes
1 answer

Connect to specific user from STUN server in WEB RTC

I'm trying to achieve peer to peer video conference using google stun server. I can connect anyone by stun server randomly.Because stun gives multiple and random addresses and connect with it. But is there any way to connect specific peer by stun…
0
votes
1 answer

Relay candidates are not generated in Google Chrome

For testing if I am getting the relay candidates, I am using this page: http://googlechrome.github.io/webrtc/samples/web/content/peerconnection/trickle-ice/. To test from chrome 40, I provided my turn url and credentials there. After clicking gather…
Md. Arafat Al Mahmud
  • 3,124
  • 5
  • 35
  • 66
0
votes
1 answer

strange stun protocol detected by wireshark

i have win7 operating system without any services or program sending stream at background,firewall inbound connection set to none, sharing disabled, and i am behind NAT. Today i just start wireshark, then i see these STUN protocols, i cannot find…
mysticcode
  • 345
  • 1
  • 2
  • 18
0
votes
1 answer

XirSys - SimpleWebRTC - I get 'Could not validate application' when doing the request to iceServers

My request to xirsys endpoint looks like this: $.ajax({ type: "POST", dataType: "json", url: "https://api.xirsys.com/getIceServers", data: { ident: "username", secret: "secret_api_key", domain:…
0
votes
1 answer

Connecting to STUN returned External IP address

I am trying to connect to a webserver that is behind a NAT listening at port 4000. On my webserver, using pystun (https://github.com/jtriley/pystun) and the command: $ pystun -p 4000 I have a returned value of NAT Type: Symmetric NAT External IP:…
David C
  • 3,659
  • 5
  • 34
  • 46
0
votes
1 answer

How to set up stunserver and turnserver in icedemo?

I am using pjsip project 2.3.and I want to use ice to imp my p2p. so i compiled icedemo.c.and the cmdline is "-s stunserver.org". but when i run the demo,i found it can not work well. the dump info like this: 11:46:45.343 os_core_win32. pjlib 1.4…
Rcan
  • 3
  • 3
0
votes
1 answer

Get My Public IP via XirSys STUN Request

Looking through the XirSys API, I don't see a way to simply get my IP address as it visible from XirSys. Is that possible to get via the exposed API?
Ternary
  • 2,401
  • 3
  • 31
  • 54
0
votes
0 answers

TLS with TURN server

I'm using TURN server and I want to use TLS when authenticating with TURN server but turn it off when it starts acting as relay server. how is this possible? it gives "connection reset" error as soon as I start transmitting unencrypted text Thanks
Zhani Baramidze
  • 1,407
  • 1
  • 13
  • 32
0
votes
1 answer

How to setup STUN settings in PJSIP ios application?

I have voip application based on pjsua. It works fine except that I don't know how to set up STUN settings correct. Now I connect STUN before pjsua init - cfg.stun_host = pj_str(&stunAdr); after that all works fine if clients not in the same…
tePoloN
  • 37
  • 8
0
votes
1 answer

Which p2p Library does Vuze use?

Which Libary does Vuze use for its p2p connection? Like JXTA, STUNT, ICE4J and so on. Or did they develop a p2p nat traversal libary by themself? If yes, can I find this p2p connection libary somewhere?
Flex Texmex
  • 1,074
  • 2
  • 11
  • 23
0
votes
2 answers

rfc 5766 : Issue when Both devices support TURN

I have been going through the TURN rfc 5766 and didn't find explanation to an issue.The rfc talks about ONLY 1 device(client) that supports TURN and the other device doesn't support TURN. I have certain doubts when both support TURN.I am using SIP…
user2139084
  • 275
  • 1
  • 4
  • 14
0
votes
1 answer

Error on setting up stun/turn server by restund

I followed the steps in http://nil.uniza.sk/sip/installing-and-configuring-restund-stunturn-server to set up a restund server. When I test it by stun, the result is STUN client version 0.96 Primary: Blocked or could not reach STUN server Return…
Zhenguo Yang
  • 3,800
  • 5
  • 18
  • 22
1 2 3
30
31