Questions tagged [ice-protocol]

ICE (Interactive Connectivity Establishment) is a protocol used to choose the best path between two users (even with NAT or Firewall issues).

ICE (Interactive Connectivity Establishment) is a protocol used to choose the best path between two users (even with NAT or Firewall issues).

22 questions
88
votes
3 answers

What are ICE Candidates and how do the peer connection choose between them?

I newly wrote a simple chat application, but I didn't really understand the background of ICE Candidates. When the peer create a connection they get ICE Candidates and they exchange them and set them finally to the peerconnection. So my question is,…
user1844505
  • 1,259
  • 2
  • 10
  • 14
8
votes
2 answers

Is ICE Necessary for Client-Server WebRTC Applications?

I have a WebRTC MCU (kurento) running on a public IP address serving some clients that only send or only receive audio So every clients is directly connected with MCU (not with each other ) that has a public IP address . Q1: Is there still a…
Geak RN
  • 83
  • 1
  • 3
8
votes
1 answer

What are the reasons of ICE failure?

What are the possible reasons of ICE failure ? I am particularly interested in the case of failure- when all remote candidates are added( with relay candidates ), remote offer/answer SDP set.
Md. Arafat Al Mahmud
  • 3,124
  • 5
  • 35
  • 66
4
votes
1 answer

Why does WebRTC use TURN sometimes?

I've written a small WebRTC demo that streams a video file to the other peer and everything works fine (it's a real P2P connection without using the TURN server) except for this: One client connects via a mobile network and one via wifi. When the…
Mt109
  • 41
  • 1
4
votes
1 answer

component id in the ice candidate

The typical SDP message v=0 o=- 3376022867449415700 2 IN IP4 127.0.0.1 s=Doubango Telecom - chrome t=0 0 a=group:BUNDLE audio video a=msid-semantic: WMS Jyup2XWPA5tOgvau9NIBMjlZFQzSEl6g3P0b m=audio 57008 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105…
Bsv
  • 71
  • 4
4
votes
0 answers

WebRTC : STUN-based connexions suddenly stopped working

We are building a little web-application based on WebRTC. Everything was fine as we could connect pretty much everyone either by STUN or TURN. During the past weeks, we suddenly stopped getting success from all connections based on STUN (so pretty…
Silveric
  • 41
  • 1
3
votes
1 answer

How to Validate pair in the ICE protocol?

Related WebRTC, ICE protocol gives the which pair of addresses will work for direct media transfer between the pairs. Let A and B are two endpoints To choose which address will work for direct communication between A and B, Person A first gather…
Bsv
  • 71
  • 4
3
votes
1 answer

DTLS handshake not completing - ORTC prototype

Firstly - apologies as I can't add ORTC tag as I don't have enough rep, so adding webrtc for now. I have been experimenting with the ORTC prototype, but I have unfortunately hit a stumbling block :( I have a very similar test application to the…
user1710407
  • 491
  • 1
  • 5
  • 16
2
votes
1 answer

Reuse ICE candidates during webrtc re-negotiation

This is regarding the delay in the webrtc call setup due to ICE negotiations. I am trying out an audio call after which I enable video. A new video stream is added to the existing Peer Connection and ICE candidates are gathered for both audio and…
2
votes
1 answer

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…
Abhishek
  • 139
  • 2
  • 13
1
vote
1 answer

How do you do NAT traversal for RTP media using Kamailio for signalling?

There are three devices in question. A VoIP phone behind NAT My own Kamailio Server on an EC2 instance. The Linphone application for android on my phone. My phone is on mobile data, and since I have an MVNO, it appears to be NATed as well (private…
Anthony A
  • 55
  • 6
1
vote
1 answer

WebRTC "ICE Failed" , error

So, i'm trying to build a webrtc video chat web app using peer.js. So far so good, everything seems to work right. The problem starts when i run my app on my private server. Everytime i try to answer or make a call the video starts playing for a few…
Dimitris Konomis
  • 326
  • 3
  • 13
1
vote
1 answer

Do we need STUN server after send first message in WebRTC procession?

Do we need to use STUN server everytime when we want to send a media message to other device or just use it in the first time? Because after we send first message, we've known our public IP address. I mean if we just need STUN server for the…
Bui Quang Huy
  • 1,784
  • 2
  • 17
  • 50
1
vote
0 answers

WebRTC ICE Candidate could not be added error

I am getting this error when I addICECandidate var candidate = new RTCIceCandidate({sdpMLineIndex:message.label, candidate:message.candidate}); pc.addIceCandidate(candidate); My candidate is…
abcd
  • 95
  • 2
  • 8
0
votes
0 answers

Which value should isControlling have in ice4j Agent?

In all the ice4j examples (for example) the agent is set to setControlling(true) for one site and setControlling(false) for the other site. Which value must I set if the other site is a browser? I can modify it only on the Java site in this case. Or…
Horcrux7
  • 23,758
  • 21
  • 98
  • 156
1
2