Re: [MMUSIC] Comment on SIP Trickle ICE based on INFO draft
"Parthasarathi R" <partha@parthasarathi.co.in> Tue, 01 April 2014 16:05 UTC
Return-Path: <partha@parthasarathi.co.in>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 717E01A099C for <mmusic@ietfa.amsl.com>; Tue, 1 Apr 2014 09:05:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.299
X-Spam-Level: *
X-Spam-Status: No, score=1.299 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, J_CHICKENPOX_16=0.6, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dsGra787TbbC for <mmusic@ietfa.amsl.com>; Tue, 1 Apr 2014 09:05:49 -0700 (PDT)
Received: from outbound.mailhostbox.com (outbound.mailhostbox.com [162.222.225.25]) by ietfa.amsl.com (Postfix) with ESMTP id 028B61A0994 for <mmusic@ietf.org>; Tue, 1 Apr 2014 09:05:48 -0700 (PDT)
Received: from userPC (unknown [122.167.217.42]) (Authenticated sender: partha@parthasarathi.co.in) by outbound.mailhostbox.com (Postfix) with ESMTPA id 4CF7215C810B; Tue, 1 Apr 2014 16:05:40 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=parthasarathi.co.in; s=20120823; t=1396368345; bh=D4FdqtuF5LiaehWdqrOz97J2Y0hwOucf2ZpWBIyNegs=; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; b=iOG/bWqBIkd4qgeTcV6M2GnbrQvtDKCmucofLzOUlnRWqikaEuD+XYDv97a5cfHaT 9eZCtTQ8N6KgFso1YmUxbp/T1TQDFPYlaA+4LXDkstHTMf087DUOT5v7R5bs7A1mKd 2Qi7E6qrV2gQxpFPqfUHBzPGLDtEmHT2eiSNHEO0=
From: Parthasarathi R <partha@parthasarathi.co.in>
To: 'Emil Ivov' <emcho@jitsi.org>, 'Paul Kyzivat' <pkyzivat@alum.mit.edu>
References: <01e601cf423c$57255890$057009b0$@co.in> <00c901cf4687$0a48dbb0$1eda9310$@co.in> <CAPvvaaKW+vxhJFqUPRZ-YfPQ4dHOS-=YwZaW+=NS3DttaaXD=Q@mail.gmail.com> <532F216E.7090400@alum.mit.edu> <532F2D8C.2010104@jitsi.org> <01b701cf4893$afbf0e80$0f3d2b80$@co.in> <CAPvvaaKCxnU=-SAefSDOkwms=Y=g9VoBpq57UPCqvGvYxV1VNw@mail.gmail.com> <010501cf491b$c44b0830$4ce11890$@co.in> <5333254E.1060804@alum.mit.edu> <533358CF.1080107@jitsi.org>
In-Reply-To: <533358CF.1080107@jitsi.org>
Date: Tue, 01 Apr 2014 21:35:33 +0530
Message-ID: <007f01cf4dc4$3b0955b0$b11c0110$@co.in>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Ac9JRUeb7P7/VBJMQMuXZ/wMdZWQNgEfiW9g
Content-Language: en-us
X-CTCH-RefID: str=0001.0A020203.533AE3D9.009F, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules:
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-CTCH-SenderID: partha@parthasarathi.co.in
X-CTCH-SenderID-TotalMessages: 1
X-CTCH-SenderID-TotalSpam: 0
X-CTCH-SenderID-TotalSuspected: 0
X-CTCH-SenderID-TotalBulk: 0
X-CTCH-SenderID-TotalConfirmed: 0
X-CTCH-SenderID-TotalRecipients: 0
X-CTCH-SenderID-TotalVirus: 0
X-CTCH-SenderID-BlueWhiteFlag: 0
X-Scanned-By: MIMEDefang 2.72 on 172.18.214.93
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/sbFD8L7zt9oGr6Oe_tXE_rbIV-s
Cc: 'mmusic' <mmusic@ietf.org>
Subject: Re: [MMUSIC] Comment on SIP Trickle ICE based on INFO draft
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Apr 2014 16:05:51 -0000
As Paul indicated, "o" line input acts as event for O/A FSM in the remote side to decide whether the given SDP fragment has to be accepted or not. Please note that the similar logic is used in case SIP session timer SDP wherein "o" line will not be incremented from the previous to indicate that there is no change in SDP. The first "ice-ufrag" & "ice-pwd" in SDP shall be used to differentiate but O/A FSM impact is unavoidable. Also, Please note that the multiple "ice-ufrag" & "ice-pwd" is possible in the given SDP because of multiple "m" lines (with different ports). > -----Original Message----- > From: mmusic [mailto:mmusic-bounces@ietf.org] On Behalf Of Emil Ivov > Sent: Thursday, March 27, 2014 4:17 AM > To: Paul Kyzivat > Cc: 'mmusic' > Subject: Re: [MMUSIC] Comment on SIP Trickle ICE based on INFO draft > > > > On 26.03.14, 20:06, Paul Kyzivat wrote: > > I think it makes sense to include the o= line. It will still require > > some text to fully explain what it means and how to use it. > > After reading your mail I am not so sure any more. > > > Note that the values of o= are also independent in the two > directions, > > so (like CSeq) can't be used directly to correlate messages in > opposite > > directions. > > > > However the O/A process does correlate pairs of o=, one from each > side. > > > > What we end up with is: > > > > - a session has a series of O/A exchanges. Each O and A contains an > > SDP. And each SDP has has an o= line. > > - From that you can identify a series of SDP pairs. Viewed from one > > side each pair has one local and one remote SDP. > > - the version numbers in the o= lines of the local SDPs form a > > non-decreasing sequence. The same is true for the remote SDPs. > > (But two in a sequence may have the *same* version.) > > > > What we are talking about is for the trickle ICE SDP fragments to > > contain the o= line from the SDP most recently sent in an offer or > > answer by the sender of the fragment. > > > > If you receive a trickle ICE fragment, then you should compare the o= > > line to that of the most recent SDP received in an offer or answer. > If > > those match, and you have no unanswered offer outstanding, then all > is ok. > > > > If they differ and you have no unanswered offer outstanding, then > > something is wrong. (I haven't thought through all the possibilities > here.) > > > > If they differ and you have an unanswered outstanding offer, then it > may > > be that an answer is enroute and this trickle was intended to follow > it. > > > > Note that if you have an unanswered offer outstanding, it is possible > > that the answer will be identical to the prior offer, and that the > > trickle fragment was sent after the answer. I *think* this doesn't > > matter - treating it as if it was sent first will yield the same > result. > > This is really great insight! Thanks Paul! > > It does make me wonder however if o= is the best way to handle things > here though. For example, it hadn't occurred to me that an O/A can > increment the o=values without having an impact on ICE processing. This > would happen if ice-ufrag and ice-pwd remain the same. > > So all this makes me think that ufrag and pwd may still be the easiest > and most straightforward way of matching INFOs to a specific ICE > context. > > Thoughts? > Emil > > > > > Thanks, > > Paul > > > > On 3/26/14 1:49 PM, Parthasarathi R wrote: > >> Hi Emil, > >> > >> Could you please clarify your intention of sending Origin "o" line > or > >> ICE-ufrag & ICE-pwd in this INFO & UPDATE scenario. > >> > >> I have mentioned "o" line by which it will be trivial for everybody > to > >> understand that offer/answer state machine is impacted by these > INFO. > >> > >> Thanks > >> > >> Partha > >> > >> *From:*Emil Ivov [mailto:emcho@jitsi.org] > >> *Sent:* Wednesday, March 26, 2014 11:23 AM > >> *To:* Parthasarathi R > >> *Cc:* Paul Kyzivat; mmusic > >> *Subject:* RE: [MMUSIC] Comment on SIP Trickle ICE based on INFO > draft > >> > >> > >> On 26 Mar 2014 2:35 AM, "Parthasarathi R" > <partha@parthasarathi.co.in > >> <mailto:partha@parthasarathi.co.in>> wrote: > >> > > >> > Hi Emil, > >> > > >> > <snip> > OK, I see. Then the easiest way to tackle this would be > to > >> mandate > >> > that > >> > > all INFOs contain the ICE ufrag and pwd of the offer/answer > they are > >> > > pertaining to. > >> > > > >> > > Does anyone see a problem with that? > >> > </snip> > >> > > >> > I guess that your intention is to pass the corresponding Origin > ("o") > >> line > >> > in each INFO message by which INFO will be identified for the > >> corresponding > >> > SDP by which the ICE candidates are passed. > >> > >> No, that wasn't my intention but sending the origin line would also > work > >> indeed. Thanks for pointing it out! > >> > >> We could actually make that a requirement of the sdpfrag format. > >> > >> --sent from my mobile > >> > >> > I'm saying so as there is no > >> > purpose of passing ICE ufrag & pwd in each INFO message > >> > > >> > Thanks > >> > Partha > >> > > >> > > >> > > -----Original Message----- > >> > > From: mmusic [mailto:mmusic-bounces@ietf.org > >> <mailto:mmusic-bounces@ietf.org>] On Behalf Of Emil Ivov > >> > > Sent: Monday, March 24, 2014 12:23 AM > >> > > To: Paul Kyzivat; mmusic@ietf.org <mailto:mmusic@ietf.org> > >> > > Subject: Re: [MMUSIC] Comment on SIP Trickle ICE based on INFO > draft > >> > > > >> > > > >> > > > >> > > On 23.03.14, 19:01, Paul Kyzivat wrote: > >> > > > One comment > >> > > > > >> > > > On 3/23/14 7:54 AM, Emil Ivov wrote: > >> > > > > >> > > >> This is analogous to an UPDATE that is received before > regular > >> 5245 > >> > > ICE > >> > > >> processing has completed. > >> > > >> > >> > > >> > > a) INVITE from local > >> > > >> > > b) 183 session progress from remote > >> > > >> > > c) PRACK from local > >> > > >> > > d) INFO from local (relay candidates) > >> > > >> > > e) UPDATE from remote > >> > > >> > > > >> > > >> > > Here, the remote has to consider whether INFO belongs > to > >> UPDATE > >> > > or > >> > > >> > > INVITE as > >> > > >> > > it is possible for INFO to reach before 200 OK for > UPDATE as > >> > > well in > >> > > >> > > the > >> > > >> > > same sequence. > >> > > >> > >> > > >> And CSeq headers wouldn't help here because ....? > >> > > > > >> > > > IIUC, the question is whether the remote can tell whether the > INFO > >> > > was > >> > > > sent before or after receiving the UPDATE. > >> > > > > >> > > > CSeq values are independent in each direction. So they are > >> useless to > >> > > > answer this question. Something else will be needed. > >> > > > >> > > OK, I see. Then the easiest way to tackle this would be to > >> mandate that > >> > > all INFOs contain the ICE ufrag and pwd of the offer/answer > they are > >> > > pertaining to. > >> > > > >> > > Does anyone see a problem with that? > >> > > > >> > > Emil > >> > > > >> > > -- > >> > > https://jitsi.org > >> > > > >> > > _______________________________________________ > >> > > mmusic mailing list > >> > > mmusic@ietf.org <mailto:mmusic@ietf.org> > >> > > https://www.ietf.org/mailman/listinfo/mmusic > >> > > >> > > > > -- > https://jitsi.org > > _______________________________________________ > mmusic mailing list > mmusic@ietf.org > https://www.ietf.org/mailman/listinfo/mmusic
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Paul Kyzivat
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Emil Ivov
- [MMUSIC] Comment on SIP Trickle based on INFO dra… Parthasarathi R
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Parthasarathi R
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Emil Ivov
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Parthasarathi R
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Emil Ivov
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Paul Kyzivat
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Parthasarathi R
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Parthasarathi R
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Paul Kyzivat
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Emil Ivov
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Emil Ivov
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Christer Holmberg
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Emil Ivov
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Christer Holmberg
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Parthasarathi R
- Re: [MMUSIC] Comment on SIP Trickle ICE based on … Parthasarathi R