I am using JsSIP on Firefox 38 and making calls via Kamailio SIP proxy and 
media relay. With an inbound call (offer to WebRTC) coming via Kamailio, I see 
ICE fail in browser console (JsSIP defaults to terminate the call if it sees 
iceconnetionstate === 'fail' in oniceconnectionstatechange event). 

Kamailio modifies the candidate lines in SDP offer, inserting its IP/port, and 
they appear to Firefox end like this:

a=candidate:iwIBAJAL55e3Lvye 2 UDP 2130706430 <Kamilio IP> <Kamailio port> typ 
host

Kamailio also adds this: a=ice-lite. I believe this means it will simply 
respond to STUN requests, but not much more. I see that, on browser side, ICE 
checks between its local ip to the Kamailio ip fail, but it succeeds between 
server reflexive IP and Kamailio IP. So there is always 2 fails and 2 successes 
(for audio and video).

If ICE partially succeeded, why does it seem to fail completely?
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media

Reply via email to