Re: [MMUSIC] RID simplification re: PT

Magnus Westerlund <magnus.westerlund@ericsson.com> Fri, 18 December 2015 10:05 UTC

Return-Path: <magnus.westerlund@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 3C9CD1B3532 for <mmusic@ietfa.amsl.com>; Fri, 18 Dec 2015 02:05:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 yw4PObDt5MQf for <mmusic@ietfa.amsl.com>; Fri, 18 Dec 2015 02:05:07 -0800 (PST)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7D0011B3533 for <mmusic@ietf.org>; Fri, 18 Dec 2015 02:05:06 -0800 (PST)
X-AuditID: c1b4fb3a-f79df6d0000013b1-b1-5673da50f023
Received: from ESESSHC003.ericsson.se (Unknown_Domain [153.88.183.27]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 16.4E.05041.05AD3765; Fri, 18 Dec 2015 11:05:04 +0100 (CET)
Received: from [127.0.0.1] (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.29) with Microsoft SMTP Server id 14.3.248.2; Fri, 18 Dec 2015 11:05:04 +0100
To: Peter Thatcher <pthatcher@google.com>, Adam Roach <adam@nostrum.com>
References: <5671F097.90700@nostrum.com> <5672B0E5.4020204@ericsson.com> <5672EA0B.2030400@nostrum.com> <CAJrXDUF+8c7Hvf8i80WzLVmKxdvmbOGmw=j3BaOa-GVD17EQ1A@mail.gmail.com>
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
Message-ID: <5673DA4F.7010804@ericsson.com>
Date: Fri, 18 Dec 2015 11:05:03 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0
MIME-Version: 1.0
In-Reply-To: <CAJrXDUF+8c7Hvf8i80WzLVmKxdvmbOGmw=j3BaOa-GVD17EQ1A@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFLMWRmVeSWpSXmKPExsUyM2K7tG7AreIwg/k/DCz2/F3EbjF1+WMW i2vLX7M6MHss2FTqsWTJTyaPWTufsAQwR3HZpKTmZJalFunbJXBl/Pi2mK3giETF1JdfmBsY twt3MXJySAiYSJxpv8oIYYtJXLi3nq2LkYtDSOAwo8TiBX9ZIZzljBKLDi1lB6kSFtCX+H// GhOILSLgIXFu9h6ojg2MEqfmzQBKcHAwC6hLXF0cBFLDJmAhcfNHIxuIzSugLTHj9HSwXhYB VYnLU86C2aICMRKPF29lhagRlDg58wkLiM0pECjxZ+96ZhCbGWjOzPnnGSFseYnmrbPB4kJA MxuaOlgnMArOQtI+C0nLLCQtCxiZVzGKFqcWF+emGxnppRZlJhcX5+fp5aWWbGIEhvDBLb+t djAefO54iFGAg1GJh9eArThMiDWxrLgy9xCjBAezkgiv4HGgEG9KYmVValF+fFFpTmrxIUZp DhYlcd5mpgehQgLpiSWp2ampBalFMFkmDk6pBsYO7XBxW8NJMcf/3C0/K/XmfsXs0K5NtXNn 3MhK3tVrluX9fJHwrY25r/oXfukwmLKSl60lNOihr4xMWXOS0qH1V7QuaAksmno1ZMreArtj +Qn3dzz4tV1b4qBWvYX5VJ9tT1gul3NvK9N78qQ1YHP65QB1ngdftZmPBmsv2LrkoYMJr3v8 Wm8lluKMREMt5qLiRACfpJEJXQIAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/gJmdeBbY8th1U0HeJbkLIyYfP0Y>
Cc: "mmusic@ietf.org" <mmusic@ietf.org>
Subject: Re: [MMUSIC] RID simplification re: PT
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, 18 Dec 2015 10:05:08 -0000

Hi Peter,

If the offerer includes PT=*, then I think it is reasonable to require 
that to continue to be PT=* in the answer. The reason is that this RID 
is stating that these limitations apply to all Payload Types present in 
the m= section. Changing that to a sub-set of the PTs in the answer 
appears to introduce the complexity I thought was the whole goal here to 
avoid.

If one introduces a RID that has a sub-set of all PTs, then I think it 
is straightforward to remove rejected PTs, that is basic logic in 
contructing messages, and the implication on the offer side when 
receiving the answer is clear. I can't send codec Foo, thus the 
limitations doesn't matter.

If we go with your less restrictive rule, then the offerer has to 
understand what it means on a session level to not get the limitations 
it intended on both A and B codec to only apply to one of them, and the 
other becomes unrestricted in this RID. I personally will not have to 
implement this, but people that has to do, should think about what they 
think becomes most straightforward. I do note that the implementations 
always will have to deal with a RID being refused by the answerer.

So to be clear I don't have a strong preference between these two 
alternatives I can go with either.

Cheers

Magnus


Den 2015-12-17 kl. 20:31, skrev Peter Thatcher:
> I am also fine with the proposal, including Magnus's tweak of allowing
> removal of PTs via the m= line and removing RIDs that have an empty set
> of PTs.
>
>
> However, having thought about it some more, I think the following rule
> would be more simple and suffice those implementers seeking sensibility:
>   "If the offer a=rid line contains pt=*, the corresponding answer a=rid
> line must contain pt=*".
>
> In other words, if the offer has "pt=A,B", the answer *can* remove A or
> B on a per-rid level with "pt=A" or "pt=B", but if an offerer does not
> want to support reduction of payload types, it can simply put in "pt=*".
> ​  This allows more control of a=rid lines in the answer than the
> originally proposed rule (in the case where an implementation decides to
> support pt= other than pt=*), but it still allows implementations the
> sensible ease of putting "pt=*" in the offer and not allowing reduction,
> but with a more simple rule.
>
> Would that also work?  Or am I missing something?  If I am and that rule
> doesn't work, I still support the original proposal (with Magnus's tweak).
>
>
> And by the way, does the order of the PTs in a RID line even matter?
> What effect would the answer reordering the PTs even have?


-- 

Magnus Westerlund

----------------------------------------------------------------------
Services, Media and Network features, Ericsson Research EAB/TXM
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Färögatan 6                 | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------