Re: Trickle ICE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ming,

1. Trickle ICE is really great to add as a 100% RFC compliant version, because this should give an order of magnitude faster call connection time and mobile handoff time which usually must connect thru one or more NAT gateways.  Something like 25-50ms vs 250-500ms. Because Trickle ICE uses the callback pattern which lets there be a fast connection attempt to the first candidate  This is huge for PJSIP and it results in much better user experience.

2. I’d suggest to avoid reinventing the wheel.  The reference implementation is already developed by WebRTC groups and it’s working. It’s here:
https://github.com/webrtc/samples/blob/59784be99f8140460f73f05c379487b3cc533693/src/content/peerconnection/trickle-ice/js/main.js 


3. Twi ways to get the official Trickle ICE into PJSIP:

A. Compare PJSIP’s Vanilla ICE and WebRTC’s Trickle ICE, see where they deviate in behavior, and modify PJSIP’s Vanilla ICE to functionally match WebRTC’s Trickle.

B. Use a translator, such as JXcore, to auto convert WebRTC’s _javascript_ to C++, then write a script to wrap it in a class, and have PJSIP instantiate this encapsulated object, call its methods, yet remain immune from its inner working details.  Next release of WebRTC’s Trickle ICE, just run the translator and script again, to get an updated better version of the official Trickle ICE code from WebRTC working group.


On Wednesday, September 26, 2018, 2:33 AM, Ming <ming@xxxxxxxxx> wrote:

Hi Chris,

To be honest, we haven't looked further into it. The only thing we
know is that at first glance, it already looks like the behavior that
we currently have with our ICE. So if you have any insights or
feedbacks (or implementation patches :) ), please feel free to share
with us because basically we haven't started anything yet.

Regards,
Ming

On Wed, Sep 26, 2018 at 9:54 AM chris coleman via pjsip
<pjsip@xxxxxxxxxxxxxxx> wrote:
>
> Hello PJSIP team,
>
> For Nansng and anyone else working on this Trickle ICE.
> How’s it going with implementing it?
> I noticed it was marked for 2.8 then slipped to next version 2.9
> Can you talk here about the implementation plan?
> Which already functioning implementation are you borrowing into PJSIP?
> Anything missing, any obstacle?

>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip@xxxxxxxxxxxxxxx
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux