Re: [MMUSIC] Comment on SIP Trickle ICE based on INFO draft
Emil Ivov <emcho@jitsi.org> Wed, 26 March 2014 22:46 UTC
Return-Path: <emcho@sip-communicator.org>
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 57F741A03DC for <mmusic@ietfa.amsl.com>; Wed, 26 Mar 2014 15:46:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_16=0.6, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
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 Sbv6joY5Fooc for <mmusic@ietfa.amsl.com>; Wed, 26 Mar 2014 15:46:45 -0700 (PDT)
Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by ietfa.amsl.com (Postfix) with ESMTP id 8EC441A03DB for <mmusic@ietf.org>; Wed, 26 Mar 2014 15:46:45 -0700 (PDT)
Received: by mail-wi0-f177.google.com with SMTP id cc10so2444374wib.16 for <mmusic@ietf.org>; Wed, 26 Mar 2014 15:46:43 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=+KEKbsJ5pIPhgYL+WgnyMW/jgo2r19dDgH4xfjIDuZ8=; b=X6tVCSKSAuuyGL/4wl9AEU9AIOmeWvtXlRXfqeJxSV08WonwLGjiI7OIX9kHogIobZ 3G7oL0PkNfibri2tbT2Km1OsHlON209tZ/3ox0zCH2kejHPW35DL9QnVUO3aNwsrvfEq YRLSrGw6P7nTOWoaV4mZjJr9mFbFcXk9w3g1kJsa19DHmkLO0FaGAOpJz/DKOri0Is84 B1OuKgFQ8nv2jWMDJGvsaAjXPGDqu8CPYyvzFPfNiKo+xrss1zaUdrrDD+BfzPlujLQ9 aU507IRB5h1S/MnYauesjCH39pPud1/cEbhYNglpFFVp3lTu3Hw8siPTwlvdu1UM8Zpv dnIQ==
X-Gm-Message-State: ALoCoQkLUQFLSR4ovp1JN1jvENNz7HCYOzeY451ejGi05u6T5W7dWarvO8+dYemMm79XvSj1wZ7s
X-Received: by 10.180.96.200 with SMTP id du8mr35542737wib.43.1395874003097; Wed, 26 Mar 2014 15:46:43 -0700 (PDT)
Received: from camionet.local (neu67-4-88-160-65-79.fbx.proxad.net. [88.160.65.79]) by mx.google.com with ESMTPSA id di9sm1251733wid.6.2014.03.26.15.46.40 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Mar 2014 15:46:41 -0700 (PDT)
Message-ID: <533358CF.1080107@jitsi.org>
Date: Wed, 26 Mar 2014 23:46:39 +0100
From: Emil Ivov <emcho@jitsi.org>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0
MIME-Version: 1.0
To: 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>
In-Reply-To: <5333254E.1060804@alum.mit.edu>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/opWlFpp0Z331m3uuY48KfHDRqRM
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: Wed, 26 Mar 2014 22:46:48 -0000
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
- 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