Re: [MMUSIC] BUNDLE DISCUSION: Always mandate mechanism to map received data to m- line?

Christer Holmberg <christer.holmberg@ericsson.com> Fri, 28 June 2013 11:06 UTC

Return-Path: <christer.holmberg@ericsson.com>
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 38F8021F9C65 for <mmusic@ietfa.amsl.com>; Fri, 28 Jun 2013 04:06:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.949
X-Spam-Level:
X-Spam-Status: No, score=-4.949 tagged_above=-999 required=5 tests=[AWL=1.300, BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 0n0Z3ek3sAmU for <mmusic@ietfa.amsl.com>; Fri, 28 Jun 2013 04:06:17 -0700 (PDT)
Received: from mailgw7.ericsson.se (mailgw7.ericsson.se [193.180.251.48]) by ietfa.amsl.com (Postfix) with ESMTP id 370A521F9D3E for <mmusic@ietf.org>; Fri, 28 Jun 2013 04:06:17 -0700 (PDT)
X-AuditID: c1b4fb30-b7ef76d000004bbc-22-51cd6e27ca08
Received: from ESESSHC005.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw7.ericsson.se (Symantec Mail Security) with SMTP id 08.95.19388.72E6DC15; Fri, 28 Jun 2013 13:06:16 +0200 (CEST)
Received: from ESESSMB209.ericsson.se ([169.254.9.6]) by ESESSHC005.ericsson.se ([153.88.183.33]) with mapi id 14.02.0328.009; Fri, 28 Jun 2013 13:06:15 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>
Thread-Topic: [MMUSIC] BUNDLE DISCUSION: Always mandate mechanism to map received data to m- line?
Thread-Index: Ac5xlSdsNUfHWYPzSBOEmKK71uD2NP//+aaA///Dn0CAAGQQgP/+2P9ggAKfFYD//lfdEA==
Date: Fri, 28 Jun 2013 11:06:15 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B1C3BE516@ESESSMB209.ericsson.se>
References: <7594FB04B1934943A5C02806D1A2204B1C3BA9EF@ESESSMB209.ericsson.se> <51C9925F.9000901@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B1C3BAC94@ESESSMB209.ericsson.se> <51C9B3A9.2000106@alum.mit.edu> <7594FB04B1934943A5C02806D1A2204B1C3BB686@ESESSMB209.ericsson.se> <51CAEF23.5060305@alum.mit.edu>
In-Reply-To: <51CAEF23.5060305@alum.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.19]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRmVeSWpSXmKPExsUyM+Jvra5G3tlAg0WXeSymLn/MYrFiwwFW ByaPv+8/MHksWfKTKYApissmJTUnsyy1SN8ugSuj824LU8EHjYpTn7qYGxhXK3QxcnJICJhI vJj2nxnCFpO4cG89WxcjF4eQwGFGiR+b17NDOIsYJR4928naxcjBwSZgIdH9TxvEFBHQkJi0 VQ3EZBZQl7i6OAhkjLBAssSUN3/ZQGwRgRSJu/vPs0PYYRItDQ+YQcpZBFQlVj2WAwnzCvhK TOpeyAKxaDeTxISlM8B6OQV0JK7cfgHWywh02vdTa5hAbGYBcYlbT+YzQZwsILFkz3mo80Ul Xj7+xwphK0q0P21ghKjXkViw+xMbhK0tsWzha2aIxYISJ2c+YZnAKDYLydhZSFpmIWmZhaRl ASPLKkb23MTMnPRy802MwPg4uOW3wQ7GTffFDjFKc7AoifNu1jsTKCSQnliSmp2aWpBaFF9U mpNafIiRiYNTqoGx9qH4nJ7dKa93LH/444BouClj/Pnnrqc13rtz9xVwb1hykTP5jnxGxUT1 1qZ4x93SH/R2re/R/+P874Pevs0BdmuM6ye+bC7hNTJ/avC6ZSLrta+9Wn+F35YknnfcsCqA p7L0V0HT+cU/0kPnRpq9PB53/87WoIkyeSmrNm1YL2R5XL/97md7JZbijERDLeai4kQAZP+f sF0CAAA=
Cc: "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] BUNDLE DISCUSION: Always mandate mechanism to map received data to m- line?
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: Fri, 28 Jun 2013 11:06:29 -0000

Hi,

>>>>> The exception to this are those packets that deal only with those 
>>>>> aspects of the bundle that are common. The most obvious example of this is ICE. But if *all* packets are common to all the m-lines then there is no reason for the bundle.
>>>>
>>>> Correct. For ICE we explicitly say that the STUN messages apply to the whole BUNDLE group.
>>>
>>> It can in principle apply to more than just ICE.
>>>
>>> Somewhere I commented that the <proto> field describes more than just 
>>> the low level transport protocol. It often describes a whole protocol 
>>> stack with many layers. When we bundle multiple m-lines with 
>>> different <proto> fields, they have different stacks. For the bundle 
>>> to be valid, at least the bottom level of each stack must be the 
>>> same. (E.g., UDP.)
>>
>> I think we should use whatever "stack" is referenced in the 5-tuple definition.
>>
>>> There may be more layers in common among some or all of the stacks. 
>>> When some of the m-lines have multiple layers in common, then there may be some packets that pertain to housekeeping of the layer, and so need not be associated with one particular m-line.
>>>
>>> For instance, *in principle* one could bundle multiple DTLS/SCTP 
>>> m-lines together. Then there could be some SCTP housekeeping packets 
>>> that can't be associated with a single m-line, but for this to work, 
>>> SCTP payload packets would need to be distinguishable, probably by 
>>> SCTP port. (Note, I'm not sure if there are any SCTP packets that 
>>> don't have an SCTP port, so this might not be a good example. And of 
>>> course for this example to work there would need to be a way to 
>>> specify the SCTP port in SDP for DTLS/SCTP.)
>>>
>>> AFAIK, for stuff *currently* under discussion only ICE falls into 
>>> this category. But if we are going to define bundle so it can be applied to future cases then we need to phrase the constraint properly.
>>
>> Sure, but it is not (I hope) the task of BUNDLE to define HOW data is mapped to m- lines for all kind of transport protocols.
>
> No, Bundle can't define this for all possible m-lines.
>
> But it can call out the requirement that this must be possible for a bundle to be valid, and that it is the responsibility of the answerer to ensure that.
>
> Part of that is for the answerer to ensure that the *offerer* will be able to do it, and that both ends agree about *how* it will be done. (So that the sender and receiver of each packet agree on which m-line it is associated with.)
>
> I am not sure if there is ever a need to *explicitly* signal what
> mechanism(s) are to be used, or if it can always be inferred from the presence in the SDP of the data needed for the association.

Assuming we do mandate mapping to m- lines, the Offer should only place m- lines in a BUNDLE group in a way that allows it to do the mapping.

The same goes for the Answerer. If it's not able to do mapping (e.g. because it does not support an extension which would be required to do the mapping), it should either remove m- line(s) from the BUNDLE group, or reject m- line(s).

Exactly HOW the mapping is done, and what SDP information it may require, is out of the scope of BUNDLE - perhaps with the exception of mapping between DTLS/SCTP and RTP (see below).

> The place where this is an issue is if there is data in the answer that would allow the offerer to do the association, but the answerer is not certain if the offerer is prepared to use that data for that purpose.

Well, as the Offerer has assigned the m- lines to the BUNDLE group, it needs to be able to do the mapping using *A* mechanism. SDP attributes etc can then be used to provide more information and data associated with such mechanisms.

>> We are going to specify/reference something for RTP, but do you think BUNDLE should also e.g. define a mechanism 
>> for transporting SCTP ports in SDP? We COULD (I assume it would be a rather simply task), but should we?
>
> We had this discussion already. IIUC there was consensus that the SDP for DTLS/SCTP would *not* include a way to convey the 
> SCTP port, so that only a single default port can be used. This implies that one can't bundle two m-lines for this together. 
> While I didn't agree with this decision, I can live with it until (if ever) a need arises.

But, I guess BUNDLE doesn't need to explicitly forbid the usage of multiple DTLS/SCTP m- lines, as there in future might be a mechanism which allows to map DTLS/SCTP data to the correct DTLS/SCTP m- line. It would go under a general "if-you-can't-demux-it-don't-put-it-in-the-bundle-group" rule.

> But I do think it needs to specify how to demux a bundle including a DTLS/SCTP and some RTP m-lines.

I personally agree with that. There are basically two things:

1) How to demux between DTLS/SCTP and RTP.

2) With multiple RTP m- lines, how to map data to the correct one.

Regards,

Christer

PS. I will leave for my summer vacation today, so I will not read my e-mail on a daily basis during that time.