[SR-Users] How ICE works with private IPs as candidates?

Denys Pozniak denys.pozniak at crazycall.com
Fri Apr 21 15:11:35 CEST 2017


Thank you for the explanation!

On 21 April 2017 at 14:50, Richard Fuchs <rfuchs at sipwise.com> wrote:

> On 04/21/2017 04:46 AM, Denys Pozniak wrote:
>
> Hello!
>
> I have next topology: ISP->Kamailio + Rtpengine->WebRTC
> Sometimes I receive from Browser side SDP like below with private IPs in
> ICE candidates.
>
>    - Please explain why it happens?
>    - How ICE finds a pair? I think Rtpengine obtains packet from Browser
>    and somehow matches with peer (as it can't reach Browser via private IP)
>
> ICE candidate collection is done entirely on the client side, i.e. in the
> browser. If your browser fails to obtain public address ICE candidates,
> it's a problem with the browser script.
>
> ICE should still be able to find a working candidate pair though, because
> once the opposite direction SDP is seen by the browser (which should
> contain public address ICE candidates from the other client or rtpengine),
> the browser will start sending checks to these candidates and the other
> side will then see the NAT'd address and use this to run checks. ICE
> completion would be delayed until after the answer/200 is seen, but it
> should still complete.
>
> Cheers
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170421/bfa51cc0/attachment.html>


More information about the sr-users mailing list