Re: [MMUSIC] Bundle rejection oddities
Eric Rescorla <ekr@rtfm.com> Fri, 04 March 2016 11:53 UTC
Return-Path: <ekr@rtfm.com>
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 D43131B371A for <mmusic@ietfa.amsl.com>; Fri, 4 Mar 2016 03:53:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.823
X-Spam-Level: *
X-Spam-Status: No, score=1.823 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_15=0.6, J_CHICKENPOX_19=0.6] 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 DL5ohJb6s6EN for <mmusic@ietfa.amsl.com>; Fri, 4 Mar 2016 03:53:29 -0800 (PST)
Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 54E881B3719 for <mmusic@ietf.org>; Fri, 4 Mar 2016 03:53:29 -0800 (PST)
Received: by mail-yw0-x22b.google.com with SMTP id b72so39635187ywe.0 for <mmusic@ietf.org>; Fri, 04 Mar 2016 03:53:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1kAhE+aCCTM6CU0e9xW7cqnRziXTRCTR+jlrBwjwa5Y=; b=tD0g1OeaMWvEW5IcrvK2jakyXWCRm5BPUNFaytE1elB9vuyz+oTsx3WVq134CPp/K2 CBWy+96rEeKqHMWAMDvdKQ4tpT3VPLA7Vzxh54xNrEGdJqkFM5vN+HqDhV/yonk7BCy7 CekZnhMXP/33qlO0cZ8stA8Qsrw0yFwm9ed/BlUk1u1Q7RrtTdakQgS26kXUKXt3txiR +DYRSYeJVTBn+H0gWWgLuNX6N0Eb/I6dG/MuYXGMV2KWZIpaoYsL9vlaYBYnDn9Cy3q3 apDcIOapIho2fsfVKzk9Q13CcyiyS2zvgeShC8zX1pN3Xm7QhPavvttGRopy7/XUs/E0 ipjg==
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:from:date :message-id:subject:to:cc; bh=1kAhE+aCCTM6CU0e9xW7cqnRziXTRCTR+jlrBwjwa5Y=; b=IYAiV47ev+VCLJelxNyfg8l6XsiHQqvGMKShfHE2ZgAjJznXBEsycgipqcaB5C98j7 cnwtCl7tQOEcAgfpS8Bsd6wbKE4CPGYSLxBNlA5/VUcwd/wfKgdSlADQlWN3JwNTqE+p MdwPVy3KnOYtwwmo6lRPc9LH7TwNN16rQnStwZ3VlNTAqyUoeQkSjpfTlRMau5xNaIjs P7uqGCR+LTP3NNhSEowre3ThyS6a/dgGel8rDEFDdYq8fB/kIt4gAdxYpg4mOaLYcvBY m7NKyIisQcXCq9ddeNHPliVbFehnT74U2WTpTnEkcbmydoXKrkZDlm/Alyoy12T7kEfz yjrA==
X-Gm-Message-State: AD7BkJI8DYN+qcQy2BreWWCcdpQzbc/e7EsOPCiKFTCup1fh8ay6LmPcH0NlQXnGulCN4i7rxtjJOqj/UcOjEA==
X-Received: by 10.13.218.198 with SMTP id c189mr4390006ywe.165.1457092408569; Fri, 04 Mar 2016 03:53:28 -0800 (PST)
MIME-Version: 1.0
Received: by 10.13.249.5 with HTTP; Fri, 4 Mar 2016 03:52:49 -0800 (PST)
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B37E591A9@ESESSMB209.ericsson.se>
References: <CABcZeBO4FEACT851653xA5=onorvPe30Hoc6Lp79KRftRtoZGA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B37E591A9@ESESSMB209.ericsson.se>
From: Eric Rescorla <ekr@rtfm.com>
Date: Fri, 04 Mar 2016 03:52:49 -0800
Message-ID: <CABcZeBMTk3eQ6P-jyNdhHeviFS9yiisykhYEh8M_ZXZ582PAiQ@mail.gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Content-Type: multipart/alternative; boundary="94eb2c08192a6b2172052d37c358"
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/bnTTZUmcMOuEthFoScYKciqpY-Q>
Cc: mmusic WG <mmusic@ietf.org>
Subject: Re: [MMUSIC] Bundle rejection oddities
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 04 Mar 2016 11:53:31 -0000
On Thu, Mar 3, 2016 at 7:53 PM, Christer Holmberg < christer.holmberg@ericsson.com> wrote: > Hi Ekr, > > I think I presented exactly the same use-case when it was first suggested > to not associate shared candidates with each bundled m- line. > Quite possibly. However, I guess a number of us weren't paying attention since it came as a surprise to a bunch of us yesterday. > > I'll look if I can add some additional text somewhere, to point out that > the candidates can be associated with different m- lines in offers and > answers, e.g. due to the use-case you described. > Thanks -Ekr > > Regards, > > Christer > > > Sent from my Windows Phone > ------------------------------ > From: Eric Rescorla <ekr@rtfm.com> > Sent: 04/03/2016 02:53 > To: mmusic WG <mmusic@ietf.org> > Subject: [MMUSIC] Bundle rejection oddities > > Hi folks, > > I've been working through the bundle draft and I've come across a sort > of surprising consequence that I wanted to share with the group. Sorry > for the extended example, but I think it's hard to get without that. > > Consider the case where an offerer has three m= lines, alpha, bravo, > and charlie. This creates an initial offer that's (schematically) like > this: > > a=group:BUNDLE alpha bravo charlie > m=audio 1111 > a=mid:alpha > a=candidate > > m=video 2222 > a=mid:bravo > a=candidate > > m=video 3333 > a=mid:charlie > a=candidate > > Per 8.2, and because this isn't bundle-only, each m= line has a unique > address and a set of candidates (I'm ignoring the ufrag and ice-pwd > for now). > > Assume that the answerer rejects the first m= line, so per 8.3, it > pulls alpha out of the bundle group and sets is port number to 0. Per > 11.2, it only associates candidates with the answerer bundle tag, > which is bravo: > > a=group:BUNDLE bravo charlie > m=audio 0 > a=mid:alpha > > m=video 4444 > a=mid:bravo > a=candidate > > m=video 4444 > a=mid:charlie > > > So far so good. Now consider what happens if the offerer does an > ICE restart and (for instance) changes some property about the > second m= line. Per S 11.1 bullet 1, it only uses a shared address > for the second two m= lines and only attaches a candidate to the > second one (bravo). I.e., > > a=group:BUNDLE bravo charlie > m=audio 0 > a=mid:alpha > > m=video 5555 > a=mid:bravo > a=candidate > > m=video 5555 > a=mid:charlie > > > If the answerer decides to reject bravo (leaving only charlie), > it now sets its port to 0 and pulls it out of the bundle group, > giving us: > > a=group:BUNDLE charlie > m=audio 0 > a=mid:alpha > > m=video 0 > a=mid:bravo > > m=video 4444 > a=mid:charlie > a=candidate <-- See here > > > Note that the candidate here is on the third m= line but it needs to > be paired with the candidates on the second (rejected) m= line from > the offerer. I'm not saying that this is fatal: the logical > interpretation is that the candidates (and other ICE parameters) are > associated with the whole bundle group (and implicitly duplicated) and > just appear with one m= line. However, it is a bit odd and probably > should be called out in the spec lest people get confused. > > -Ekr > > > > > > > > > > > > > > > > > > > > > > > > >
- Re: [MMUSIC] Bundle rejection oddities Christer Holmberg
- [MMUSIC] Bundle rejection oddities Eric Rescorla
- Re: [MMUSIC] Bundle rejection oddities Christer Holmberg
- Re: [MMUSIC] Bundle rejection oddities Eric Rescorla
- Re: [MMUSIC] Bundle rejection oddities Eric Rescorla
- Re: [MMUSIC] Bundle rejection oddities Christer Holmberg
- Re: [MMUSIC] Bundle rejection oddities Eric Rescorla
- Re: [MMUSIC] Bundle rejection oddities Christer Holmberg
- Re: [MMUSIC] Bundle rejection oddities Christer Holmberg
- Re: [MMUSIC] Bundle rejection oddities Eric Rescorla
- Re: [MMUSIC] Bundle rejection oddities Christer Holmberg
- Re: [MMUSIC] Bundle rejection oddities Paul Kyzivat
- Re: [MMUSIC] Bundle rejection oddities Christer Holmberg
- Re: [MMUSIC] Bundle rejection oddities Christer Holmberg
- Re: [MMUSIC] Bundle rejection oddities Flemming Andreasen
- Re: [MMUSIC] Bundle rejection oddities Christer Holmberg
- Re: [MMUSIC] Bundle rejection oddities Christer Holmberg
- Re: [MMUSIC] Bundle rejection oddities Flemming Andreasen