Re: [MMUSIC] Partial Offer/Partial Answer draft - MIME type value

Emil Ivov <emcho@jitsi.org> Sat, 19 October 2013 15:56 UTC

Return-Path: <emcho@sip-communicator.org>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9BD1911E81CB for <mmusic@ietfa.amsl.com>; Sat, 19 Oct 2013 08:56:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.691
X-Spam-Level:
X-Spam-Status: No, score=-2.691 tagged_above=-999 required=5 tests=[AWL=0.285, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Iao+Qu5TenJe for <mmusic@ietfa.amsl.com>; Sat, 19 Oct 2013 08:56:34 -0700 (PDT)
Received: from mail-pb0-f47.google.com (mail-pb0-f47.google.com [209.85.160.47]) by ietfa.amsl.com (Postfix) with ESMTP id 0C56411E81DF for <mmusic@ietf.org>; Sat, 19 Oct 2013 08:56:32 -0700 (PDT)
Received: by mail-pb0-f47.google.com with SMTP id rr4so5082252pbb.20 for <mmusic@ietf.org>; Sat, 19 Oct 2013 08:56:18 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=ExTXyHo97FihD7sk4oqXciE1BLrKP07TTEErDqXuFhk=; b=fqzRQ9a9rWuV5wjhD6V4M47Yr5N0x4NGwnJIF3+RdBpQaG7badMs5XipeV/2ZxCQ3O 3Dk0EdIhHaNVT04+RPdqjh3bnAZ3eukIiDnCB3o4zdNylH+E3tsfm0Hkb0Ei9RF9wqPS TSG1ZMo5tRkgq7Ln18eyfiYGbpByJr3uuGIywBqqhv74JjG/dw9PFAjW1DiuZ+T1KbFK PeeL1nMy9eLxSIvVHpfr1PN885phK8ecqjzl3aEL16OHTjsUMompHRP+AzCHNDkrWTRO VT3m3maqqxncONYnbXdW8WuPT0LEU3vEX+YPgdwCoI2lZWA+EGrYkGSxhTILsHVm4wDo XkJQ==
X-Gm-Message-State: ALoCoQluYi5OWsEzaSluB0a+ZGPSAmt1ve3LA/0ZpQ7x9yE7acJDQ4ATTm9mXaNJUZmfG2yJkmvb
X-Received: by 10.68.192.195 with SMTP id hi3mr8792495pbc.18.1382198178467; Sat, 19 Oct 2013 08:56:18 -0700 (PDT)
Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [2607:f8b0:400e:c02::231]) by mx.google.com with ESMTPSA id y9sm12596056pas.10.2013.10.19.08.56.17 for <mmusic@ietf.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 19 Oct 2013 08:56:17 -0700 (PDT)
Received: by mail-pd0-f177.google.com with SMTP id p10so3525232pdj.8 for <mmusic@ietf.org>; Sat, 19 Oct 2013 08:56:17 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.68.190.197 with SMTP id gs5mr8708539pbc.90.1382198177213; Sat, 19 Oct 2013 08:56:17 -0700 (PDT)
Received: by 10.66.191.163 with HTTP; Sat, 19 Oct 2013 08:56:16 -0700 (PDT)
Received: by 10.66.191.163 with HTTP; Sat, 19 Oct 2013 08:56:16 -0700 (PDT)
In-Reply-To: <yv22u8tdcxanwt643ccmsn7t.1382197429573@email.android.com>
References: <7594FB04B1934943A5C02806D1A2204B1C4C2F3D@ESESSMB209.ericsson.se> <52617EF3.8040705@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B1C4C309C@ESESSMB209.ericsson.se> <526187AC.8060200@nostrum.com> <7594FB04B1934943A5C02806D1A2204B1C4C338F@ESESSMB209.ericsson.se> <52619FCC.3090606@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B1C4C33FB@ESESSMB209.ericsson.se> <5261AAF0.3030509@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B1C4C34F9@ESESSMB209.ericsson.se> <CAPvvaa+0MgAT7Svw47zFRZUdjAEGDU=72yAqwxY_cnEb9ZhUww@mail.gmail.com> <5261C314.8020001@alum.mit.edu> <CAPvvaaJuVfeW4jbY0Ayxxm32rbHTD-GwT+YhRgo5xh380=Y-yA@mail.gmail.com> <h7ciobmuoh8ivvljnya8r8t9.1382163037289@email.android.com> <CAPvvaaJWSoKKwn_h84yDsZ6BgD=QPS9ERPvSskzWvn_x1Bju1w@mail.gmail.com> <yv22u8tdcxanwt643ccmsn7t.1382197429573@email.android.com>
Date: Sat, 19 Oct 2013 10:56:16 -0500
Message-ID: <CAPvvaaJFrWFsov5v4zMWOnzex_foF1Zy-0V1iYyXdWwMW3C5aQ@mail.gmail.com>
From: Emil Ivov <emcho@jitsi.org>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: multipart/alternative; boundary="e89a8ffba9795cce3504e91a178d"
Cc: mmusic <mmusic@ietf.org>, Paul Kyzivat <pkyzivat@alum.mit.edu>
Subject: Re: [MMUSIC] Partial Offer/Partial Answer draft - MIME type value
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.12
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: Sat, 19 Oct 2013 15:56:43 -0000

The new SDP O/A you mention would cause an ICE restart and that's what will
define agent state. Not previously exchange trickled candidates.

I am not sure I understand the relation to your argument though (about
trickled candidates affecting session SDP) so I might be missing your point.

Emil

--sent from my mobile
On 19 Oct 2013 17:43, "Christer Holmberg" <christer.holmberg@ericsson.com>
wrote:

>  Hi Emil,
>
> Assume you have an m- line, for which you provide candidates using trickle ICE.
>
> Then, you add the m- line to a BUNDLE group, using SDP O/A, which means it will inherit the address properties and candidates of the BUNDLE group.
>
> Are you saying that the previously provided trickle candidates are still comsidered valid, eventhough they are associated with different address properties etc?
>
> Regards,
>
> Christer
>
> Sent from my Sony Ericsson Xperia arc S
>
> Emil Ivov <emcho@jitsi.org> wrote:
>
>
>   Hey Christer,
>  On 19 Oct 2013 08:10, "Christer Holmberg" <christer.holmberg@ericsson.com>
> wrote:
>
>> Hi Emil,
>>
>> Similar to POF/PAN, the sending of candidates do affect the session SDP
>> (bacause, as you said, they are sent within SDP).
>>
>
>  I don't think this is accurate. Use of SDP for additional candidates is
> just a coincidence. It was readily available syntax for describing
> candidates and it might be convenient in some implementations (although
> this is probably of marginal value).
>
> The point is that the syntax is not due to a relationship to Offer/Answer
> and could have just as easily be based on JSON or XML or anything else.
>
>  Also, trickled candidates DO NOT update the session SDP the way a new m=
> line does. There is only a loose relation between them and subsequent O/As.
> The origin field does NOT need to be updated. New candidates in new O/As
> may appear without having been trickled and trickled candidates can just
> well be omitted in subsequent O/As. In other words, a trickled candidate
> would only affect the state of the ICE agent in exactly the same way a peer
> reflexive candidate would and it would be orthogonal to O/A, again, just as
> peer reflexive candidates are.
>
>
>> So, while we would need to think about whether using POF/PAN would make
>> sense or not, why do you think that we "can't" do it?
>>
>
>  OK, maybe "can't" is not entirely accurate here. I am sure that we
> *could* make it would with O/A if we really put our backs into it. In a
> similar way, I am sure we could also make it work by exchanging candidates
> in a shared Dropbox folder. In either case, I don't see why we would want
> to incur such a thing on our selves. I don't see any advantage to doing
> this.
>
>  On the downside, trickling candidates in Offer/Answer would imply the
> following problems:
>
>  *  Very high glare probability.
>  * Unnecessarily complex implementation (really, this would be a
> nightmare and I sincerely advise anyone supporting offer answer for trickle
> to first try and implement it).
>  * Ambiguity between ICE restarts and trickle updates.
>
>  Also, given how we have already had this discussion and converged on use
> of INFO, it is unclear to to me as to why we are revisiting this. I don't
> think anyone has reported any problems on the alternative.
>
> Cheers,
> Emil
>
>
>>
>> Regards,
>>
>> Christer
>>
>> Sent from my Sony Ericsson Xperia arc S
>>
>> Emil Ivov <emcho@jitsi.org> wrote:
>>
>>
>> On Fri, Oct 18, 2013 at 6:24 PM, Paul Kyzivat <pkyzivat@alum.mit.edu>
>> wrote:
>> > On 10/18/13 6:11 PM, Emil Ivov wrote:
>> >>
>> >> I do think that a different MIME type makes more sense here for the
>> >> reasons Paul explained.
>> >
>> >
>> > In the sip world, we may *also* want a new content-disposition. Using
>> > 'session' as the content-disposition with the new content type implies
>> that
>> > the the body is just a different representation of an offer or answer.
>> (We
>> > were once considering exactly that with SDPng.)
>> >
>> > We *might* want to think of it that way, or not.
>> >
>> >
>> >> It might be worth adding that the same MIME type would be used when
>> >> sending candidate updates with Trickle ICE for SIP, which to me at
>> >> least, makes a lot of sense.
>> >
>> >
>> > I still wonder why trickle ICE needs a *different* mechanism for partial
>> > offers. Couldn't we just use this one?
>>
>> By "this one", do you mean POF/PAN or application/sdpfrag?
>>
>> We don't need anything different than application/sdpfrag.
>>
>> We can't use POF/PAN because we are not sending offers and answers. We
>> are just exchanging candidates in agent-to-agent messages. The use of
>> SDP is an unfortunate coincidence, not an indication of offers and
>> answers.
>>
>> Emil
>>
>> >
>> >         Thanks,
>> >         Paul
>> >
>> >> --sent from my mobile
>> >>
>> >> On 18 Oct 2013 16:55, "Christer Holmberg"
>> >> <christer.holmberg@ericsson.com <mailto:christer.holmberg@ericsson.com
>> >>
>> >>
>> >> wrote:
>> >>
>> >>     Hi,
>> >>
>> >>      > I think you and I are thinking of this differently.
>> >>      >
>> >>      > I'm thinking that the POFs and PANs are something new, different
>> >>     from offers and answers. They go on *between* offers and answers.
>> >>      >
>> >>      > IIUC you are thinking of POFs and PANs as extended forms of
>> >>     offers and answers.
>> >>
>> >>     It's not the way I think - I just wanted to explore how/if things
>> >>     would work IF we were thinking like that, and what the pros and
>> cons
>> >>     would be :)
>> >>
>> >>     We have to keep in mind that, no matter how we look at it, the
>> >>     Offers/Answers and POFs/PANs are tightly connected, meaning that
>> >>     they impact the same SDP state, can cause race conditions etc.
>> >>
>> >>     Regards,
>> >>
>> >>     Christer
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>     On 10/18/13 5:06 PM, Christer Holmberg wrote:
>> >>      > Hi,
>> >>      >
>> >>      >>>>> Content-Disposition does not apply to intermediaries. So, a
>> >> proxy
>> >>      >>>>> that only understands application/sdp (e.g. for gate control
>> >>      >>>>> purpose) will not even look at the C-D header field value
>> for
>> >>      >>>>> other bodies. And, unless such proxy understands POF/PAN,
>> there
>> >>      >>>>> may not be any media passing through...
>> >>      >>>>
>> >>      >>>> Right. A middlebox that doesn't understand
>> application/sdpfrag
>> >>      >>>> won't know to look at its contents and let the new streams
>> >>     through.
>> >>      >>>> And a middlebox that sees something marked as
>> >>     "application/sdp" that conveys only a tiny fraction of the session
>> >>     will probably be just as catastrophic; I would imagine everything
>> >>     but the modified streams would be shut off. There's no way to win
>> >> here.
>> >>      >>>
>> >>      >>> I think it would reject the Offer - at least that's what it
>> >>     should do according to 3264.
>> >>      >>
>> >>      >> 3264 only talks about how to process offers and answers
>> described
>> >> in
>> >>      >> SDP. It does not say how those are conveyed in sip. 3261 says
>> >>     that they are carried in body parts of content-type application/sdp
>> >>     with content-disposition of 'session'. If a body part has
>> >>     content-type application/sdp but has a disposition other than
>> >>     'session' then it isn't an offer or answer according to 3261, and
>> so
>> >>     3264 doesn't apply.
>> >>      >
>> >>      > 3264 says that all m- line must be present in an Offer - even if
>> >>     they are not modified. So, what I meant was that in case all m-
>> >>     lines are NOT present (in the case of a POF), such Offer would be
>> >>     rejected - unless the middlebox understands the POF/PAN mechanism .
>> >>      >
>> >>      >>>> At some point, we have to come to peace with the fact that
>> any
>> >>     middleboxes that aren't primarily in the business of stifling
>> >>     progress will need to keep pace with protocol extensions as they
>> get
>> >>     deployed.
>> >>      >>>
>> >>      >>> I really wish things worked that way :)
>> >>      >>
>> >>      >> So progress ends because middleboxes don't permit it?
>> >>      >>
>> >>      >> Maybe you are right. Then sip will go the way of h323 while the
>> >>     world moves on to webrtc.
>> >>      >
>> >>      > I think that getting explicit rejections, rather than having to
>> >>     try to
>> >>      > figure out where things go wrong, is good for progress :)
>> >>      >
>> >>      > Anyway, it wasn't really a suggestion - I just wanted to do some
>> >>      > brainstorming :)
>> >>      >
>> >>      > Regards,
>> >>      >
>> >>      > Christer
>> >>      >
>> >>
>> >>     _______________________________________________
>> >>     mmusic mailing list
>> >>     mmusic@ietf.org <mailto:mmusic@ietf.org>
>> >>     https://www.ietf.org/mailman/listinfo/mmusic
>> >>
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> mmusic mailing list
>> >> mmusic@ietf.org
>> >> https://www.ietf.org/mailman/listinfo/mmusic
>> >>
>> >
>> > _______________________________________________
>> > mmusic mailing list
>> > mmusic@ietf.org
>> > https://www.ietf.org/mailman/listinfo/mmusic
>>
>>
>>
>> --
>> Emil Ivov, Ph.D.                       67000 Strasbourg,
>> Project Lead                           France
>> Jitsi
>> emcho@jitsi.org                        PHONE: +33.1.77.62.43.30
>> https://jitsi.org                       FAX:   +33.1.77.62.47.31
>> _______________________________________________
>> mmusic mailing list
>> mmusic@ietf.org
>> https://www.ietf.org/mailman/listinfo/mmusic
>>
>