[pjsip] Is This ICE Usage Right

44072429 44072429 at qq.com
Fri Nov 6 03:30:29 CST 2009


thanks for your reply. 
What's wrong with icedemo? Or if you want "full implementation" you
can use pjsua of course.
 
i mean the offer and answer.
 
in icedemo.the offer and answer implemented as parse and past in hand.^_^!
 
thanks thanks thanks thanks thanks thanks thanks thanks .now i know what i will do next.
 
 
------------------ Original ------------------
From: "Benny Prijono"<bennylp at teluu.com>;
Date: 2009年11月6日(星期五) 下午4:25
To: "pjsip list"<pjsip at lists.pjsip.org>;
Subject: Re: [pjsip] Is This ICE Usage Right

 
On Mon, Nov 2, 2009 at 3:18 PM, 44072429 <44072429 at qq.com> wrote:
> dear Mr:
>  hi !
>  i am using pjnath to develop nonsip applications which need p2p.
>
>  this is my idear of how to use ice to make p2p.
>  can you give me some advice that is the right way to use ice.
>
>  my usage like follows:
> 1.there are 2 clients a and b which want to use ice to make p2p.
> 2.there are several TURN Servers(TS) which support STUN and one Login
> Server(LS).
> 3.the 2 clients first login the LS.and create instance and session as offer
> like icedemo.c does.
> 4.now 2 clients has its sdp.then if client a want to send a message to b .a
> will send its sdp to LS aslo with b's login name ,and then LS send a's sdp
> to b(This Is Offer Producture).
> 5.when b received the a's sdp and a's login name.b send its sdp with a's
> login name to LS.and LS then it to a(This Is Answer Producture).
> 6.now b start ice connective checks. and when a received b's answer, a start
> ice connective checks too.
> 7.when connective checks was done. the p2p producture was done.then a can
> send message to b with ice.
>
> questions:
> 1.Am I Right?

That sounds correct.

> 2.if i am right ,can i create a and b's  sessions both as offer?

You can. ICE has mechanism to resolve role conflict. But this would
increase traffic roundtrips and negotiation delay slightly.

> 3.is there any full implement in pjlib's demo?

What's wrong with icedemo? Or if you want "full implementation" you
can use pjsua of course.

Cheers
 Benny

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip at lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091106/2ec1a78c/attachment.html>


More information about the pjsip mailing list