Re: [MMUSIC] Bundle rejection oddities

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 04 March 2016 03:53 UTC

Return-Path: <christer.holmberg@ericsson.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 E70241B327F for <mmusic@ietfa.amsl.com>; Thu, 3 Mar 2016 19:53:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.999
X-Spam-Level:
X-Spam-Status: No, score=-2.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_15=0.6, J_CHICKENPOX_19=0.6, RCVD_IN_DNSWL_MED=-2.3] 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 JIuIJDhxkpaK for <mmusic@ietfa.amsl.com>; Thu, 3 Mar 2016 19:53:09 -0800 (PST)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E61601B327D for <mmusic@ietf.org>; Thu, 3 Mar 2016 19:53:08 -0800 (PST)
X-AuditID: c1b4fb30-f79d26d000006389-e6-56d906a2dbd1
Received: from ESESSHC001.ericsson.se (Unknown_Domain [153.88.183.21]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id B5.7E.25481.2A609D65; Fri, 4 Mar 2016 04:53:07 +0100 (CET)
Received: from ESESSMB209.ericsson.se ([169.254.9.73]) by ESESSHC001.ericsson.se ([153.88.183.21]) with mapi id 14.03.0248.002; Fri, 4 Mar 2016 04:53:06 +0100
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Eric Rescorla <ekr@rtfm.com>, mmusic WG <mmusic@ietf.org>
Thread-Topic: [MMUSIC] Bundle rejection oddities
Thread-Index: AQHRdbAze3OVqIuh4UG8lpLJiZIPzJ9Ip1fE
Date: Fri, 04 Mar 2016 03:53:05 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B37E591A9@ESESSMB209.ericsson.se>
References: <CABcZeBO4FEACT851653xA5=onorvPe30Hoc6Lp79KRftRtoZGA@mail.gmail.com>
In-Reply-To: <CABcZeBO4FEACT851653xA5=onorvPe30Hoc6Lp79KRftRtoZGA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: multipart/alternative; boundary="_000_7594FB04B1934943A5C02806D1A2204B37E591A9ESESSMB209erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjkeLIzCtJLcpLzFFi42KZGbFdVHcx280wg0sPeSxWvD7HbjF1+WMW ByaPJUt+MnlMftzGHMAUxWWTkpqTWZZapG+XwJUxf81z9oIjXhVPNsxjaWD8YtvFyMkhIWAi sWLhFmYIW0ziwr31bF2MXBxCAocZJeb/e8QM4SxilOhe/w4ow8HBJmAh0f1PG6RBRMBWoqf3 CCOILSygL/FuyiN2iLiBxISLb1khbCOJL90grZwcLAIqEltfN4LFeQV8JY49ewoWFxIIkFjR 3wQW5xQIlDhz4AETiM0IdND3U2vAbGYBcYmmLytZIQ4VkFiy5zzU0aISLx//YwU5jVkgX+J5 RyzEeEGJkzOfsExgFJ6FpHsWQtUsJFUQJQYSX97fhrK1JZYtfM0MYetLdL8/zYQsvoCRfRWj aHFqcVJuupGRXmpRZnJxcX6eXl5qySZGYOwc3PLbYAfjy+eOhxgFOBiVeHg3rLgeJsSaWFZc mXuIUYKDWUmE9zLTzTAh3pTEyqrUovz4otKc1OJDjNIcLErivKyfLocJCaQnlqRmp6YWpBbB ZJk4OKUaGN08zp6oXhQwZ2+nWoubYmdCg4L6BdcTb/bmPHov+oH1+i2FgPscJYdO7YvTb3Ty YO8+vUX4zaoJyT0x+Vv2WQVHTNhW0+adGObU1le+T+MPT9r63PTZP26HrH8xZdHy539UJxz6 0CSrlRn/cOki40PGJ6Iel1c9Fd/S9qZs/vfiS06J/KWhUUosxRmJhlrMRcWJALN3yS6ZAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/jaJwmZTRpIH2KmYEhTB3oGXgZOk>
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 03:53:12 -0000

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.

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.

Regards,

Christer


Sent from my Windows Phone
________________________________
From: Eric Rescorla<mailto:ekr@rtfm.com>
Sent: ‎04/‎03/‎2016 02:53
To: mmusic WG<mailto: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