Re: [rtcweb] Replacing a=extmap mapping in re-offer, is it legal?

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 09 August 2017 12:26 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5EB05132394 for <rtcweb@ietfa.amsl.com>; Wed, 9 Aug 2017 05:26:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level:
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 0hm9EqvQb8vi for <rtcweb@ietfa.amsl.com>; Wed, 9 Aug 2017 05:26:44 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D6BF51321E3 for <rtcweb@ietf.org>; Wed, 9 Aug 2017 05:26:43 -0700 (PDT)
X-AuditID: c1b4fb3a-81bff70000001b2f-df-598aff811b6b
Received: from ESESSHC011.ericsson.se (Unknown_Domain [153.88.183.51]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 2E.B8.06959.18FFA895; Wed, 9 Aug 2017 14:26:42 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.91]) by ESESSHC011.ericsson.se ([153.88.183.51]) with mapi id 14.03.0352.000; Wed, 9 Aug 2017 14:26:41 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Roni Even <roni.even@huawei.com>, Iñaki Baz Castillo <ibc@aliax.net>, Taylor Brandstetter <deadbeef@google.com>
CC: "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] Replacing a=extmap mapping in re-offer, is it legal?
Thread-Index: AQHTD4ZeWfNzICrgU0mNlPq2aeHenKJ47jTA///hPQCAADoWAIAAAq8AgAAizfCAAjDagIAAlitg
Date: Wed, 09 Aug 2017 12:26:41 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B4CCB5B07@ESESSMB109.ericsson.se>
References: <CALiegf=_3XV9NnEzi4e6Tb=d5KiqpjtH09grrEzZvWrbaDOcxw@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B4CCB17B5@ESESSMB109.ericsson.se> <CALiegf=_W=ma9w0o6J9sa6fAfNLw0Zc7d9nMb+nOs6cS-9C5QQ@mail.gmail.com> <CAK35n0Zph3cWjkmP3Usep6QZLaCxSqe2wof0FsAjrkcx9s5QUg@mail.gmail.com> <CALiegf=4vV9wxXKE+GQCd_34ocVQvHXpYLCjXFkeCupBuWn8nA@mail.gmail.com> <7594FB04B1934943A5C02806D1A2204B4CCB2093@ESESSMB109.ericsson.se> <6E58094ECC8D8344914996DAD28F1CCD7F1F02@DGGEMM506-MBX.china.huawei.com>
In-Reply-To: <6E58094ECC8D8344914996DAD28F1CCD7F1F02@DGGEMM506-MBX.china.huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.149]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeLIzCtJLcpLzFFi42KZGbHdWLfpf1ekwd8HHBaXVzxktZi+z8bi 07HzLBZr/7WzO7B4nGt4z+6xYFOpR8uRt6weS5b8ZApgieKySUnNySxLLdK3S+DKuLngHHvB K4mKlrYjzA2MMyS6GDk5JARMJA5dfsnexcjFISRwhFFi2qcVLCAJIYFFjBKzfjB2MXJwsAlY SHT/0wapERHoZpTYNO8FWA2zgLrEncXn2EFsYQEviTvL5zKD2CIC3hJ/Zs1nhLCjJPbd6GUD sVkEVCS+H9oEFucV8JX49PURC8Ti78wSm7bOZAJJcAqESByZvpMVxGYUEJP4fmoNE8QycYlb T+YzQVwtILFkz3lmCFtU4uXjf6wQtpLE2sPbWUCOZhbQlFi/Sx+iVVFiSvdDdoi9ghInZz5h mcAoOgvJ1FkIHbOQdMxC0rGAkWUVo2hxanFxbrqRkV5qUWZycXF+nl5easkmRmAkHdzy22oH 48HnjocYBTgYlXh46190RQqxJpYVV+YeYpTgYFYS4c3+BxTiTUmsrEotyo8vKs1JLT7EKM3B oiTO67DvQoSQQHpiSWp2ampBahFMlomDU6qBkX1JzmShhu63GnUhVWfk/J4V/1i6sGieb43Q ww8XzwVfWSrHuGfCq8upqzZd9gtgdAhRVPv+4HOlxb/sg2tVeyMCaow+XVa3m7BdqaTG+O01 h99LytlNzeR+vue+ydT4YdMC5tIdb1rf9CWaiy/2edOiyC81qWaXyzTmgtZY/w+NzyUvvd8b rMRSnJFoqMVcVJwIANJMCCugAgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/pEAVh7KKiZ4OSfvE9cyNKzwkVn0>
Subject: Re: [rtcweb] Replacing a=extmap mapping in re-offer, is it legal?
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rtcweb/>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Aug 2017 12:26:46 -0000

Hi,

>> Taylor's explanation makes sense. But, in this case:
>> 
>> 1) Re-using the same value with a new mapping should be an explicit 
>> MUST NOT
>[Roni Even] This is specified in RFC5285 section 6 
>
>Identifiers values in the valid range MUST NOT  be altered (remapped).

Correct. Taylor indicated this earlier.

What if a previously negotiated mapping is not included at all in a subsequent offer? Is it considered an error? If not, does the previous mapping apply? Or, is the previous mapping removed?

Regards,

Christer



> From: Iñaki Baz Castillo [mailto:ibc@aliax.net]
> Sent: 07 August 2017 19:56
> To: Taylor Brandstetter <deadbeef@google.com>
> Cc: Christer Holmberg <christer.holmberg@ericsson.com>; 
> rtcweb@ietf.org
> Subject: Re: [rtcweb] Replacing a=extmap mapping in re-offer, is it legal?
> 
> On Mon, Aug 7, 2017 at 7:46 PM, Taylor Brandstetter 
> <deadbeef@google.com> wrote:
> > I don't know if this is stated explicitly anywhere, but my 
> > assumption was that it works like payload types. You can introduce 
> > new IDs all you want, but you can't have one ID refer to multiple 
> > things during the
> same session.
> > Otherwise, if you receive a packet with that extension ID, you 
> > wouldn't be able to tell which extension it is.
> >
> > Meaning, if Bob's initial answer was:
> >
> > a=extmap:11 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-
> time
> >
> > It would be illegal to have a re-offer of:
> >
> > a=extmap:1 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-
> time
> > a=extmap:11 urn:ietf:params:rtp-hdrext:toffset
> >
> > Because if Bob then receives a packet with extension ID 11, Bob 
> > doesn't know if it's a packet sent before Alice received the answer 
> > (in which case it's "abs-send-time"), or after (in which case it's "toffset").
> 
> Thanks, your rationale clearly makes sense. However:
> 
> 1) I don't think Firefox cares about overriding a previous extmap ID 
> during a reoffer.
> 
> 2) Should we really accept so complex and error prune things just 
> because SDP allows everything?
> 
> 
> --
> Iñaki Baz Castillo
> <ibc@aliax.net>
> _______________________________________________
> rtcweb mailing list
> rtcweb@ietf.org
> https://www.ietf.org/mailman/listinfo/rtcweb